- Fix some redefinition warnings caused by our headers' suckyness

svn path=/trunk/; revision=43041
This commit is contained in:
Stefan Ginsberg
2009-09-13 21:23:54 +00:00
parent 92b08a01ef
commit 5de8f359fe
3 changed files with 6 additions and 0 deletions

View File

@@ -31,7 +31,9 @@
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
# undef strcasecmp
# define strcasecmp stricmp
# undef strncasecmp
# define strncasecmp strnicmp
# define sleep WinSleep
# ifndef S_ISREG

View File

@@ -44,7 +44,9 @@
# include <fcntl.h>
# include <signal.h>
# include <assert.h>
# undef strcasecmp
# define strcasecmp stricmp
# undef strncasecmp
# define strncasecmp strnicmp
# define sleep WinSleep
# ifndef S_ISREG

View File

@@ -32,7 +32,9 @@
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
# undef strcasecmp
# define strcasecmp stricmp
# undef strncasecmp
# define strncasecmp strnicmp
# define sleep(a) Sleep(a * 1000)
# ifndef S_ISREG