include/SDL_types.h
changeset 908 6104bfff77ba
parent 769 b8d311d90021
child 912 bc0b95b02235
     1.1 --- a/include/SDL_types.h	Sun Jul 18 19:36:06 2004 +0000
     1.2 +++ b/include/SDL_types.h	Sun Jul 18 19:42:03 2004 +0000
     1.3 @@ -38,16 +38,26 @@
     1.4  	SDL_FALSE = 0,
     1.5  	SDL_TRUE  = 1
     1.6  } SDL_bool;
     1.7 +
     1.8 +#ifdef H_MMBASIC /* mmbasic.h (Tru64 MME) */
     1.9 +/* Some of the basic types are already defined in mmbasic.h */
    1.10 +typedef signed char	Sint8;
    1.11 +typedef signed short	Sint16;
    1.12 +typedef signed int	Sint32;
    1.13 +#else
    1.14  typedef unsigned char	Uint8;
    1.15  typedef signed char	Sint8;
    1.16  typedef unsigned short	Uint16;
    1.17  typedef signed short	Sint16;
    1.18  typedef unsigned int	Uint32;
    1.19  typedef signed int	Sint32;
    1.20 +#endif
    1.21  
    1.22  /* Figure out how to support 64-bit datatypes */
    1.23  #if !defined(__STRICT_ANSI__)
    1.24 -#if defined(__GNUC__) || defined(__MWERKS__) || defined(__SUNPRO_C) || defined(__DECC)
    1.25 +#ifdef H_MMBASIC /* mmbasic.h (Tru64 MME) */
    1.26 +#define SDL_HAS_64BIT_TYPE	long
    1.27 +#elif defined(__GNUC__) || defined(__MWERKS__) || defined(__SUNPRO_C) || defined(__DECC)
    1.28  #define SDL_HAS_64BIT_TYPE	long long
    1.29  #elif defined(_MSC_VER) /* VC++ */
    1.30  #define SDL_HAS_64BIT_TYPE	__int64