Use _WIN32 and _WIN64 to detect Windows instead of RUBY_PLATFORM

This commit is contained in:
furunkel
2015-06-01 21:06:59 +02:00
parent 6cc24d0793
commit 5542f7b0fc
3 changed files with 3 additions and 62 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
#define PATH_MAX MAX_PATH
#endif
#define S_ISDIR(B) ((B)&_S_IFDIR)
#include "Win/dirent.h"
#include "Win/dirent.c"
#include <direct.h>
#define rmdir _rmdir
#define getcwd _getcwd