summaryrefslogtreecommitdiff
path: root/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xmlrpc/libxmlrpc/xmlrpc_win32.h')
-rw-r--r--ext/xmlrpc/libxmlrpc/xmlrpc_win32.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h b/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h
new file mode 100644
index 0000000..b212ccd
--- /dev/null
+++ b/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h
@@ -0,0 +1,16 @@
+#ifndef _XMLRPC_WIN32_H
+#define _XMLRPC_WIN32_H
+/* just some things needed to compile win32 */
+#include <windows.h>
+#include <stdlib.h>
+#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