diff options
author | Mateusz Loskot <mateusz@loskot.net> | 2012-05-21 23:22:36 +0100 |
---|---|---|
committer | Mateusz Loskot <mateusz@loskot.net> | 2012-05-21 23:22:36 +0100 |
commit | a6f39a3c0ce09aec1f947479e7c441f5c2b99f01 (patch) | |
tree | c9b8b9c74450631a7f465d2ae364838fd5f0bb56 /arraylist.c | |
parent | 1abaaee658389037ba016b7ba7eca65755d53b07 (diff) | |
download | json-c-a6f39a3c0ce09aec1f947479e7c441f5c2b99f01.tar.gz |
Replaced #if HAVE_X with #ifdef HAVE_X as the former test is troublemaker with #define HAVE_X where #define HAVE_X 1|0 is meant.
Diffstat (limited to 'arraylist.c')
-rw-r--r-- | arraylist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arraylist.c b/arraylist.c index 9a673d6..2d44a18 100644 --- a/arraylist.c +++ b/arraylist.c @@ -11,12 +11,12 @@ #include "config.h" -#if STDC_HEADERS +#ifdef STDC_HEADERS # include <stdlib.h> # include <string.h> #endif /* STDC_HEADERS */ -#if defined HAVE_STRINGS_H && !defined _STRING_H && !defined __USE_BSD +#if defined(HAVE_STRINGS_H) && !defined(_STRING_H) && !defined(__USE_BSD) # include <strings.h> #endif /* HAVE_STRINGS_H */ |