diff options
author | Pierre Joye <pajoye@php.net> | 2008-07-05 18:17:37 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-07-05 18:17:37 +0000 |
commit | 53c53ed7315d8dacaea49c11c0d0f9caf92be569 (patch) | |
tree | 2c91022a3a69bbd610ed3875e8472746b4ad43cd /ext/xmlrpc | |
parent | f0d28fafa85b35f12ab7a4e1213319fa2c21523c (diff) | |
download | php-git-53c53ed7315d8dacaea49c11c0d0f9caf92be569.tar.gz |
- MFH: silent redefinition warning
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r-- | ext/xmlrpc/libxmlrpc/xmlrpc_win32.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h b/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h index 58c54bbb80..b212ccda5e 100644 --- a/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h +++ b/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h @@ -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 |