summaryrefslogtreecommitdiff
path: root/lib/config-os400.h
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2013-07-15 18:38:17 +0200
committerPatrick Monnerat <pm@datasphere.ch>2013-07-15 18:38:17 +0200
commit50af17ef240d24572bcbddc5e6b8e9a55adad28f (patch)
tree84a4a86809c9772ca918dd2ea36370d426067c01 /lib/config-os400.h
parent3a24cb7bc456366cbc3a03f7ab6d2576105a1f2d (diff)
downloadcurl-50af17ef240d24572bcbddc5e6b8e9a55adad28f.tar.gz
config-os400.h: enable system strdup(), strcmpi(), etc.
Diffstat (limited to 'lib/config-os400.h')
-rw-r--r--lib/config-os400.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/config-os400.h b/lib/config-os400.h
index 0ac2cdb61..4381f9a30 100644
--- a/lib/config-os400.h
+++ b/lib/config-os400.h
@@ -277,21 +277,27 @@
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H
+
+/* The following define is needed on OS400 to enable strcmpi(), stricmp() and
+ strdup(). */
+#define __cplusplus__strings__
+
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strcmpi' function. */
-#undef HAVE_STRCMPI
+#define HAVE_STRCMPI
+
+/* Define if you have the `stricmp' function. */
+#define HAVE_STRICMP
/* Define if you have the `strdup' function. */
-#undef HAVE_STRDUP
+#define HAVE_STRDUP
+
/* Define if you have the `strftime' function. */
#define HAVE_STRFTIME
-/* Define if you have the `stricmp' function. */
-#undef HAVE_STRICMP
-
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H