Commit 50af17ef authored by Patrick Monnerat's avatar Patrick Monnerat
Browse files

config-os400.h: enable system strdup(), strcmpi(), etc.

parent 3a24cb7b
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -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

+2 −1
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ done

#       Build in each directory.

for SUBDIR in include lib src tests
# for SUBDIR in include lib src tests
for SUBDIR in include lib src
do      "${SCRIPTDIR}/make-${SUBDIR}.sh"
done