mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 04:44:26 +08:00
- Fix some redefinition warnings caused by our headers' suckyness
svn path=/trunk/; revision=43041
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user