diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-02-22 19:26:22 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-02-22 19:26:22 +0100 |
commit | 0211561aaf7f4a7d2805fc872f0cfc2a5af82b43 (patch) | |
tree | a38be24c24771ee05c87e0305c4499340d0b79a2 | |
parent | 7da6a6353bd0e93da3be913345777de96589adda (diff) | |
download | wolfbones-0211561aaf7f4a7d2805fc872f0cfc2a5af82b43.tar.gz wolfbones-0211561aaf7f4a7d2805fc872f0cfc2a5af82b43.tar.bz2 |
strings.h also needed on Linux
-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 */ |