mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 14:28:47 +00:00
(RLaunch) Avoid unistd.h includes on MSVC
This commit is contained in:
parent
ae9a1167b7
commit
39b1c6dacd
@ -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);
|
||||
|
@ -1,4 +1,8 @@
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,8 @@
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define MAX_TOKEN_LEN 255
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user