diff options
-rw-r--r-- | docs/port/README | 5 | ||||
-rw-r--r-- | include/wolf/port/sys.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/port/README b/docs/port/README index f5c3273..4908025 100644 --- a/docs/port/README +++ b/docs/port/README @@ -35,8 +35,9 @@ Currently there are the following definitions which must be set: - HAVE_STRCASECMP and HAVE_STRNCASECMP: whether we have 7-bit versions of str(n)casecmp (it's POSIX and BSD but some C libaries miss it) - HAVE_STRINGS_H: old header file, usually it is nowadaus a dummy which - includes <string.h>, but on old systems like Solaris 8 it declares - str(n)casecmp and some other BSDish string functions + includes <string.h>, but on some systems like Solaris 8 or also Linux + they declare the prototypes for str(n)casecmp and some other BSDish + string functions Currently tested on: -------------------- diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h index 0ed9df6..6fec2af 100644 --- a/include/wolf/port/sys.h +++ b/include/wolf/port/sys.h @@ -44,6 +44,7 @@ #define HAVE_LOCKF #define HAVE_STRCASECMP #define HAVE_STRNCASECMP +#define HAVE_STRINGS_H #else #error unknown platform #endif /* defined OS_MINOR_VERSION == 6 */ @@ -159,9 +160,9 @@ #define HAVE_STDBOOL_H #define HAVE_STDINT_H #define HAVE_STRERROR_R -#define HAVE_STRINGS_H #define HAVE_STRCASECMP #define HAVE_STRNCASECMP +#define HAVE_STRINGS_H #else #error unknown platform #endif /* OS_MINOR_VERSION == 10 */ |