]> granicus.if.org Git - php/commitdiff
- silent redefinition warning
authorPierre Joye <pajoye@php.net>
Sat, 5 Jul 2008 18:17:02 +0000 (18:17 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 5 Jul 2008 18:17:02 +0000 (18:17 +0000)
ext/xmlrpc/libxmlrpc/xmlrpc_win32.h

index 58c54bbb809311e5d53eeada72fb1e33f139255b..b212ccda5eda3be61a0336fc7249f4046a1ab09e 100644 (file)
@@ -3,9 +3,14 @@
 /* just some things needed to compile win32 */
 #include <windows.h>
 #include <stdlib.h>
-#define inline __inline
-#define snprintf _snprintf
-#define strcasecmp(s1, s2) stricmp(s1, s2)
-
+#ifndef inline
+# define inline __inline
+#endif
+#ifndef snprintf
+# define snprintf _snprintf
+#endif
+#ifndef strcasecmp
+# define strcasecmp(s1, s2) stricmp(s1, s2)
+#endif
 
 #endif
\ No newline at end of file