summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-07-01 13:20:35 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-07-01 13:21:28 +0200
commite558ee79992ed2cb6ce17ad2d81c4d25e6c394f3 (patch)
tree4037f6646ad635387c0f2f50d79540859e3f8b78 /win32
parentc70d9cdb1163e6df9b1ee8fe99a3deb921d3c8cf (diff)
downloadphp-git-e558ee79992ed2cb6ce17ad2d81c4d25e6c394f3.tar.gz
Remove not needed checks for functions
The following functions don't need to be checked anymore since the they are not used across the code or the symbols aren't used anymore: - cuserid (not used) - lrand48 (not used and removed via 6d6ef7aacc7f9b17709d2f93b70b359c75011f89) - random (check is not used) - srand48 (not used) - srandom (not used) - strdup (check is not used) and the unused check symbols: - HAVE_CUSERID - HAVE_LRAND48 - HAVE_RANDOM - HAVE_SRAND48 - HAVE_SRANDOM - HAVE_STRDUP Closes GH-4338
Diffstat (limited to 'win32')
-rw-r--r--win32/build/config.w32.h.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in
index 1b197c19d7..1aeea7b629 100644
--- a/win32/build/config.w32.h.in
+++ b/win32/build/config.w32.h.in
@@ -80,7 +80,6 @@
#endif
#define HAVE_SHUTDOWN 1
#define HAVE_STRCASECMP 1
-#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_TEMPNAM 1
#define HAVE_UTIME 1
@@ -98,7 +97,6 @@
#undef HAVE_KILL
#define HAVE_GETPID 1
#define HAVE_LIBM 1
-#define HAVE_CUSERID 0
#undef HAVE_RINT
#define SIZEOF_SHORT 2
/* int and long are stll 32bit in 64bit compiles */