(RLaunch) Avoid unistd.h includes on MSVC

This commit is contained in:
twinaphex 2013-01-13 04:39:49 +01:00
parent ae9a1167b7
commit 39b1c6dacd
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
int detect_cd_game(const char* cue_path, char* game_name, size_t max_len);

View File

@ -1,4 +1,8 @@
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
#include <errno.h>
#include <string.h>
#include <stdlib.h>

View File

@ -1,4 +1,8 @@
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
#define MAX_TOKEN_LEN 255