mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Sync with timelib 2022.04 properly
This commit is contained in:
parent
af0e96a1f0
commit
0df92d218e
1 changed files with 16 additions and 0 deletions
|
@ -39,6 +39,22 @@
|
|||
#include <limits.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
# ifndef HAVE_INT32_T
|
||||
# if SIZEOF_INT == 4
|
||||
typedef int int32_t;
|
||||
# elif SIZEOF_LONG == 4
|
||||
typedef long int int32_t;
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef HAVE_UINT32_T
|
||||
# if SIZEOF_INT == 4
|
||||
typedef unsigned int uint32_t;
|
||||
# elif SIZEOF_LONG == 4
|
||||
typedef unsigned long int uint32_t;
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# if _MSC_VER >= 1600
|
||||
# include <stdint.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue