mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
use typedefs instead of stdint.h, because someone forgot to tell MSVC it was 2008
This commit is contained in:
parent
ee71713651
commit
7357ba307c
@ -57,7 +57,18 @@
|
|||||||
#define AvmAssertMsg(x, y)
|
#define AvmAssertMsg(x, y)
|
||||||
#define AvmDebugLog(x) printf x
|
#define AvmDebugLog(x) printf x
|
||||||
|
|
||||||
#include <stdint.h>
|
#ifdef _MSC_VER
|
||||||
|
/*
|
||||||
|
* Can we just take a moment to think about what it means that MSVC doesn't have stdint.h in 2008?
|
||||||
|
* Thanks for your time.
|
||||||
|
*/
|
||||||
|
typedef JSWord intptr_t;
|
||||||
|
#endif
|
||||||
|
typedef JSUint8 uint8_t;
|
||||||
|
typedef JSUint16 uint16_t;
|
||||||
|
typedef JSUint32 uint32_t;
|
||||||
|
typedef JSUint64 uint64_t;
|
||||||
|
|
||||||
|
|
||||||
#if defined(__i386__)
|
#if defined(__i386__)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user