mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove timelib outdated defines
- TIMELIB_OMIT_STDINT is not used anymore since
a171f99cf0
- HAVE_GETTIMEOFDAY was defined multiple times in Windows headers
- ext/date/lib/timelib_config.h.win32 does not seem to be used
Closes GH-4400
This commit is contained in:
parent
7a6d737de7
commit
c72d6da461
4 changed files with 0 additions and 5 deletions
|
@ -8,8 +8,6 @@ ADD_FLAG('CFLAGS_DATE', "/wd4244");
|
|||
var tl_config = FSO.CreateTextFile("ext/date/lib/timelib_config.h", true);
|
||||
tl_config.WriteLine("#include \"config.w32.h\"");
|
||||
tl_config.WriteLine("#include <php_stdint.h>");
|
||||
tl_config.WriteLine("#define TIMELIB_OMIT_STDINT 1");
|
||||
tl_config.WriteLine("#define HAVE_GETTIMEOFDAY 1");
|
||||
tl_config.WriteLine("#include \"zend.h\"");
|
||||
tl_config.WriteLine("#define timelib_malloc emalloc");
|
||||
tl_config.WriteLine("#define timelib_realloc erealloc");
|
||||
|
|
|
@ -24,7 +24,6 @@ cat > $ext_builddir/lib/timelib_config.h <<EOF
|
|||
# include <php_config.h>
|
||||
#endif
|
||||
#include <php_stdint.h>
|
||||
#define TIMELIB_OMIT_STDINT 1
|
||||
|
||||
#include "zend.h"
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
# include "config.w32.h"
|
|
@ -69,7 +69,6 @@
|
|||
#define HSREGEX 1
|
||||
#define HAVE_GCVT 1
|
||||
#define HAVE_GETLOGIN 1
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
#define HAVE_MEMMOVE 1
|
||||
#define HAVE_PUTENV 1
|
||||
#define HAVE_REGCOMP 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue