diff options
| -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 |
