mirror of
https://github.com/mupen64plus/mupen64plus-ui-console.git
synced 2025-04-02 10:52:34 -04:00
Fix VS2013 compilation
This commit is contained in:
parent
1cdc745ad2
commit
990e24d7bc
1 changed files with 2 additions and 7 deletions
|
@ -34,19 +34,14 @@
|
|||
#include <io.h> // For _unlink()
|
||||
|
||||
#define unlink _unlink
|
||||
#define snprintf _snprintf
|
||||
#define strdup _strdup
|
||||
|
||||
#define OSAL_DIR_SEPARATORS "\\/"
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#else /* Not WIN32 */
|
||||
#include <limits.h> // for PATH_MAX
|
||||
#include <unistd.h> // for unlink()
|
||||
|
||||
#define OSAL_DIR_SEPARATORS "/"
|
||||
|
||||
/* PATH_MAX only may be defined by limits.h */
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* data structure for linked list of shared libraries found in a directory */
|
||||
|
|
Loading…
Add table
Reference in a new issue