include/SDL_types.h
changeset 654 e92bcf2573cb
parent 534 1ea658a3dd52
child 661 04028d47b1ea
equal deleted inserted replaced
653:1bd056de5d1b 654:e92bcf2573cb
    45 typedef unsigned int	Uint32;
    45 typedef unsigned int	Uint32;
    46 typedef signed int	Sint32;
    46 typedef signed int	Sint32;
    47 
    47 
    48 /* Figure out how to support 64-bit datatypes */
    48 /* Figure out how to support 64-bit datatypes */
    49 #if !defined(__STRICT_ANSI__)
    49 #if !defined(__STRICT_ANSI__)
    50 #if defined(__GNUC__) || defined(__MWERKS__) || defined(__SUNPRO_C)
    50 #if defined(__GNUC__) || defined(__MWERKS__) || defined(__DECC)
    51 #define SDL_HAS_64BIT_TYPE	long long
    51 #define SDL_HAS_64BIT_TYPE	long long
    52 #elif defined(_MSC_VER) /* VC++ */
    52 #elif defined(_MSC_VER) /* VC++ */
    53 #define SDL_HAS_64BIT_TYPE	__int64
    53 #define SDL_HAS_64BIT_TYPE	__int64
    54 #endif
    54 #endif
    55 #endif /* !__STRICT_ANSI__ */
    55 #endif /* !__STRICT_ANSI__ */
    59 #undef SDL_HAS_64BIT_TYPE
    59 #undef SDL_HAS_64BIT_TYPE
    60 #endif
    60 #endif
    61 
    61 
    62 /* The 64-bit datatype isn't supported on all platforms */
    62 /* The 64-bit datatype isn't supported on all platforms */
    63 #ifdef SDL_HAS_64BIT_TYPE
    63 #ifdef SDL_HAS_64BIT_TYPE
       
    64 #ifndef H_MMBASIC
    64 typedef unsigned SDL_HAS_64BIT_TYPE Uint64;
    65 typedef unsigned SDL_HAS_64BIT_TYPE Uint64;
       
    66 #endif
    65 typedef SDL_HAS_64BIT_TYPE Sint64;
    67 typedef SDL_HAS_64BIT_TYPE Sint64;
    66 #else
    68 #else
    67 /* This is really just a hack to prevent the compiler from complaining */
    69 /* This is really just a hack to prevent the compiler from complaining */
    68 typedef struct {
    70 typedef struct {
    69 	Uint32 hi;
    71 	Uint32 hi;