mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
MFH: add sanity check for time_t size of win32
This commit is contained in:
parent
d14021cb4e
commit
4db4009c71
@ -55,7 +55,14 @@
|
||||
#define XP_UNIX
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* For windows do some sanity checks, because time_t must be 32bit for NSAPI on win32
|
||||
*/
|
||||
#if defined(PHP_WIN32) && !defined(_WIN64) && sizeof(time_t)!=4
|
||||
#error "NSAPI module needs time_t to have a size of 32 bits on win32"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* NSAPI includes
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user