mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Treat __unix__ define as generic Unix
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
6abf87f1e4
commit
1cbc3bdc7c
@@ -25,7 +25,7 @@ int mkdir(char* path, int mode)
|
||||
MultiByteToWideChar(CP_UTF8, 0, path, -1, utf16_path, MAX_PATH);
|
||||
return CreateDirectoryW(utf16_path, NULL);
|
||||
}
|
||||
#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__HAIKU__) || defined(__DragonFly__) || defined(__EMSCRIPTEN__)
|
||||
#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__HAIKU__) || defined(__DragonFly__) || defined(__EMSCRIPTEN__) || defined(__unix__)
|
||||
#include <limits.h>
|
||||
#include <sys/stat.h>
|
||||
#define MAX_PATH PATH_MAX
|
||||
|
||||
Reference in New Issue
Block a user