use typedefs instead of stdint.h, because someone forgot to tell MSVC it was 2008

This commit is contained in:
shaver@mozilla.org 2008-07-10 09:52:34 -04:00
parent ee71713651
commit 7357ba307c

View File

@ -57,7 +57,18 @@
#define AvmAssertMsg(x, y)
#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__)