knight/shared/KeStdTypes.h
author David Anderson <danderson@mozilla.com>
Thu Aug 08 09:41:24 2013 -0700 (2013-08-08)
changeset 3977 fca2b54741ca
parent 2226 d10b38524be3
permissions -rw-r--r--
Refactor the JIT to use a newer, simpler macro assembler. (bug 5827, r=ann)
     1 #ifndef _INCLUDE_KNIGHT_KE_STANDARD_TYPES_H_
     2 #define _INCLUDE_KNIGHT_KE_STANDARD_TYPES_H_
     3 
     4 #include <KePlatform.h>
     5 #include <stddef.h>
     6 
     7 #if defined KE_PLATFORM_WINDOWS
     8 
     9 typedef __int8 int8_t;
    10 typedef unsigned __int8 uint8_t;
    11 typedef __int16 int16_t;
    12 typedef unsigned __int16 uint16_t;
    13 typedef __int32 int32_t;
    14 typedef unsigned __int32 uint32_t;
    15 typedef __int64 int64_t;
    16 typedef unsigned __int64 uint64_t;
    17 
    18 #else
    19 
    20 #include <stdint.h>
    21 
    22 #endif
    23 
    24 #endif //_INCLUDE_KNIGHT_KE_STANDARD_TYPES_H_