win32: using <stdint.h> instead of defining our own types.
This used to be necessary back in 2008 but nowadays Visual Studio provides enough C99 support for us.
This commit is contained in:
parent
1c7ffee4a2
commit
baf828863b
@ -158,16 +158,7 @@
|
||||
* warning about fucking ISO C++ when we fucking compile fucking C. */
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
/* Win32-specific, of course. */
|
||||
typedef signed long long int int64_t;
|
||||
typedef unsigned long long int uint64_t;
|
||||
typedef signed int int32_t;
|
||||
typedef unsigned int uint32_t;
|
||||
typedef signed short int16_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef signed char int8_t;
|
||||
typedef unsigned char uint8_t;
|
||||
|
||||
#include <stdint.h> /* Has uint32_t etc. */
|
||||
#include <stddef.h> /* Has uintptr_t etc. */
|
||||
typedef int pid_t;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user