aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 00ebe563b..e390e58e2 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -18,6 +18,7 @@
18#define HAVE_PTSNAME_R 1 18#define HAVE_PTSNAME_R 1
19#define HAVE_SETBIT 1 19#define HAVE_SETBIT 1
20#define HAVE_SIGHANDLER_T 1 20#define HAVE_SIGHANDLER_T 1
21#define HAVE_STPCPY 1
21#define HAVE_STRCASESTR 1 22#define HAVE_STRCASESTR 1
22#define HAVE_STRCHRNUL 1 23#define HAVE_STRCHRNUL 1
23#define HAVE_STRSEP 1 24#define HAVE_STRSEP 1
@@ -356,6 +357,8 @@ typedef unsigned smalluint;
356# define ADJ_TICK MOD_CLKB 357# define ADJ_TICK MOD_CLKB
357# endif 358# endif
358 359
360# undef HAVE_STPCPY
361
359#else 362#else
360 363
361# define bb_setpgrp() setpgrp() 364# define bb_setpgrp() setpgrp()
@@ -376,6 +379,7 @@ typedef unsigned smalluint;
376# undef HAVE_MEMRCHR 379# undef HAVE_MEMRCHR
377# undef HAVE_MKDTEMP 380# undef HAVE_MKDTEMP
378# undef HAVE_SETBIT 381# undef HAVE_SETBIT
382# undef HAVE_STPCPY
379# undef HAVE_STRCASESTR 383# undef HAVE_STRCASESTR
380# undef HAVE_STRCHRNUL 384# undef HAVE_STRCHRNUL
381# undef HAVE_STRSEP 385# undef HAVE_STRSEP
@@ -413,6 +417,10 @@ extern char *mkdtemp(char *template) FAST_FUNC;
413typedef void (*sighandler_t)(int); 417typedef void (*sighandler_t)(int);
414#endif 418#endif
415 419
420#ifndef HAVE_STPCPY
421extern char *stpcpy(char *p, const char *to_add) FAST_FUNC;
422#endif
423
416#ifndef HAVE_STRCASESTR 424#ifndef HAVE_STRCASESTR
417extern char *strcasestr(const char *s, const char *pattern) FAST_FUNC; 425extern char *strcasestr(const char *s, const char *pattern) FAST_FUNC;
418#endif 426#endif