Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions win32/build/config.w32.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,6 @@
#define HAVE_INET_PTON 1
#define HAVE_INET_NTOP 1

/* vs.net 2005 has a 64-bit time_t. This will likely break
* 3rdParty libs that were built with older compilers; switch
* back to 32-bit */
#ifndef _WIN64
# define _USE_32BIT_TIME_T 1
#endif

#define _REENTRANT 1

#define HAVE_GETRUSAGE
Expand Down
9 changes: 2 additions & 7 deletions win32/build/confutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3255,13 +3255,8 @@ function toolset_setup_common_cflags()
ADD_FLAG("CFLAGS", " /FD ");

// fun stuff: MS deprecated ANSI stdio and similar functions
// disable annoying warnings. In addition, time_t defaults
// to 64-bit. Ask for 32-bit.
if (TARGET_ARCH == 'x86') {
ADD_FLAG('CFLAGS', ' /wd4996 /D_USE_32BIT_TIME_T=1 ');
} else {
ADD_FLAG('CFLAGS', ' /wd4996 ');
}
// disable annoying warnings.
ADD_FLAG('CFLAGS', ' /wd4996 ');

if (PHP_DEBUG == "yes") {
// Set some debug/release specific options
Expand Down