diff options
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index bbbc0a9b6..2bc88c391 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -10,9 +10,12 @@ | |||
10 | /* Assume all these functions exist by default. Platforms where it is not | 10 | /* Assume all these functions exist by default. Platforms where it is not |
11 | * true will #undef them below. | 11 | * true will #undef them below. |
12 | */ | 12 | */ |
13 | #define HAVE_CLEARENV 1 | ||
14 | #define HAVE_FDATASYNC 1 | ||
13 | #define HAVE_FDPRINTF 1 | 15 | #define HAVE_FDPRINTF 1 |
14 | #define HAVE_MEMRCHR 1 | 16 | #define HAVE_MEMRCHR 1 |
15 | #define HAVE_MKDTEMP 1 | 17 | #define HAVE_MKDTEMP 1 |
18 | #define HAVE_PTSNAME_R 1 | ||
16 | #define HAVE_SETBIT 1 | 19 | #define HAVE_SETBIT 1 |
17 | #define HAVE_SIGHANDLER_T 1 | 20 | #define HAVE_SIGHANDLER_T 1 |
18 | #define HAVE_STRCASESTR 1 | 21 | #define HAVE_STRCASESTR 1 |
@@ -253,7 +256,10 @@ typedef uint32_t bb__aliased_uint32_t FIX_ALIASING; | |||
253 | #if (defined __digital__ && defined __unix__) \ | 256 | #if (defined __digital__ && defined __unix__) \ |
254 | || defined __APPLE__ \ | 257 | || defined __APPLE__ \ |
255 | || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ | 258 | || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ |
259 | # undef HAVE_CLEARENV | ||
260 | # undef HAVE_FDATASYNC | ||
256 | # undef HAVE_MNTENT_H | 261 | # undef HAVE_MNTENT_H |
262 | # undef HAVE_PTSNAME_R | ||
257 | # undef HAVE_SYS_STATFS_H | 263 | # undef HAVE_SYS_STATFS_H |
258 | # undef HAVE_SIGHANDLER_T | 264 | # undef HAVE_SIGHANDLER_T |
259 | #else | 265 | #else |