Author: sginsberg
Date: Sun Sep 13 23:23:54 2009
New Revision: 43041
URL:
http://svn.reactos.org/svn/reactos?rev=43041&view=rev
Log:
- Fix some redefinition warnings caused by our headers' suckyness
Modified:
trunk/rosapps/applications/net/ncftp/libncftp/syshdrs.h
trunk/rosapps/applications/net/ncftp/ncftp/syshdrs.h
trunk/rosapps/applications/net/ncftp/sio/syshdrs.h
Modified: trunk/rosapps/applications/net/ncftp/libncftp/syshdrs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/net/ncftp/lib…
==============================================================================
--- trunk/rosapps/applications/net/ncftp/libncftp/syshdrs.h [iso-8859-1] (original)
+++ trunk/rosapps/applications/net/ncftp/libncftp/syshdrs.h [iso-8859-1] Sun Sep 13
23:23:54 2009
@@ -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
Modified: trunk/rosapps/applications/net/ncftp/ncftp/syshdrs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/net/ncftp/ncf…
==============================================================================
--- trunk/rosapps/applications/net/ncftp/ncftp/syshdrs.h [iso-8859-1] (original)
+++ trunk/rosapps/applications/net/ncftp/ncftp/syshdrs.h [iso-8859-1] Sun Sep 13 23:23:54
2009
@@ -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
Modified: trunk/rosapps/applications/net/ncftp/sio/syshdrs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/net/ncftp/sio…
==============================================================================
--- trunk/rosapps/applications/net/ncftp/sio/syshdrs.h [iso-8859-1] (original)
+++ trunk/rosapps/applications/net/ncftp/sio/syshdrs.h [iso-8859-1] Sun Sep 13 23:23:54
2009
@@ -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