comparison dwcompat.h @ 1842:123d1a900f54

More MINGW cleanups... eliminate a few more warnings and disable the unused-value warning due to unfixable warnings generated by the Win32 macros.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 20 Nov 2012 20:42:06 +0000
parents 22225eb286e5
children b02aa3947562
comparison
equal deleted inserted replaced
1841:7677754a1ca5 1842:123d1a900f54
173 #include <process.h> 173 #include <process.h>
174 #include <sys/stat.h> 174 #include <sys/stat.h>
175 175
176 #ifdef MSVC 176 #ifdef MSVC
177 #include "platform/dirent.h" 177 #include "platform/dirent.h"
178 #undef alloca
178 #define alloca _alloca 179 #define alloca _alloca
179 #ifdef __stat64 180 #ifdef __stat64
180 #undef stat 181 #undef stat
181 #define stat(a, b) _stat64(a, b) 182 #define stat(a, b) _stat64(a, b)
182 #define dwstat __stat64 183 #define dwstat __stat64