diff options
| author | Pierre Joye <pajoye@php.net> | 2008-07-05 18:17:02 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2008-07-05 18:17:02 +0000 |
| commit | 8f0b8821374a989a9c05b067fbdebd1d84fe01b3 (patch) | |
| tree | 4fa4c792d1c2fc0e0ab570bfe9c0b960476294af /ext/xmlrpc/libxmlrpc/xmlrpc_win32.h | |
| parent | 60dbdea125bce7e850a00cf47178199cfedb52e2 (diff) | |
| download | php-git-8f0b8821374a989a9c05b067fbdebd1d84fe01b3.tar.gz | |
- silent redefinition warning
Diffstat (limited to 'ext/xmlrpc/libxmlrpc/xmlrpc_win32.h')
| -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 |
