mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
* (bug 2977) use MSVC compatiable pre-processors and also include <io.h> for
int types
This commit is contained in:
parent
c586def044
commit
cf2875e771
1 changed files with 13 additions and 12 deletions
|
@ -114,18 +114,19 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#ifdef Q3_VM
|
#ifdef Q3_VM
|
||||||
typedef int intptr_t;
|
typedef int intptr_t;
|
||||||
#else
|
#else
|
||||||
# ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
# include <stdint.h>
|
#include <stdint.h>
|
||||||
# else
|
#else
|
||||||
typedef __int64 int64_t;
|
#include <io.h>
|
||||||
typedef __int32 int32_t;
|
typedef __int64 int64_t;
|
||||||
typedef __int16 int16_t;
|
typedef __int32 int32_t;
|
||||||
typedef __int8 int8_t;
|
typedef __int16 int16_t;
|
||||||
typedef unsigned __int64 uint64_t;
|
typedef __int8 int8_t;
|
||||||
typedef unsigned __int32 uint32_t;
|
typedef unsigned __int64 uint64_t;
|
||||||
typedef unsigned __int16 uint16_t;
|
typedef unsigned __int32 uint32_t;
|
||||||
typedef unsigned __int8 uint8_t;
|
typedef unsigned __int16 uint16_t;
|
||||||
# endif
|
typedef unsigned __int8 uint8_t;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned char byte;
|
typedef unsigned char byte;
|
||||||
|
|
Loading…
Reference in a new issue