mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Change int32_t to __int32 on MSC.
I can't just say screw it and include the full doomtype.h here (windows.h conflict?) so a small hack here will have to do. :I
This commit is contained in:
parent
ecdf3412c0
commit
120c9c5ad5
1 changed files with 9 additions and 3 deletions
|
@ -10,7 +10,13 @@
|
|||
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define INT32 __int32
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#define INT32 int32_t
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
@ -141,7 +147,7 @@
|
|||
** CHANGE that if ptrdiff_t is not adequate on your machine. (On most
|
||||
** machines, ptrdiff_t gives a good choice between int or long.)
|
||||
*/
|
||||
#define LUA_INTEGER int32_t
|
||||
#define LUA_INTEGER INT32
|
||||
|
||||
|
||||
/*
|
||||
|
@ -503,13 +509,13 @@
|
|||
*/
|
||||
|
||||
//#define LUA_NUMBER_DOUBLE
|
||||
#define LUA_NUMBER int32_t
|
||||
#define LUA_NUMBER INT32
|
||||
|
||||
/*
|
||||
@@ LUAI_UACNUMBER is the result of an 'usual argument conversion'
|
||||
@* over a number.
|
||||
*/
|
||||
#define LUAI_UACNUMBER int32_t
|
||||
#define LUAI_UACNUMBER INT32
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue