include/SDL_config_os2.h
branchSDL-1.2
changeset 11964 6c37a15030e7
parent 6137 4720145f848b
equal deleted inserted replaced
11963:bed18a4357e5 11964:6c37a15030e7
    24 #define _SDL_config_os2_h
    24 #define _SDL_config_os2_h
    25 
    25 
    26 #include "SDL_platform.h"
    26 #include "SDL_platform.h"
    27 
    27 
    28 /* This is a set of defines to configure the SDL features */
    28 /* This is a set of defines to configure the SDL features */
    29 
       
    30 typedef signed char         int8_t;
       
    31 typedef unsigned char       uint8_t;
       
    32 typedef signed short        int16_t;
       
    33 typedef unsigned short      uint16_t;
       
    34 typedef signed int          int32_t;
       
    35 typedef unsigned int        uint32_t;
       
    36 typedef unsigned int        size_t;
       
    37 typedef unsigned long       uintptr_t;
       
    38 typedef signed long long    int64_t;
       
    39 typedef unsigned long long  uint64_t;
       
    40 
    29 
    41 #define SDL_HAS_64BIT_TYPE	1
    30 #define SDL_HAS_64BIT_TYPE	1
    42 
    31 
    43 /* Use Watcom's LIBC */
    32 /* Use Watcom's LIBC */
    44 #define HAVE_LIBC 1
    33 #define HAVE_LIBC 1
    65 #define HAVE_REALLOC 1
    54 #define HAVE_REALLOC 1
    66 #define HAVE_FREE 1
    55 #define HAVE_FREE 1
    67 #define HAVE_ALLOCA 1
    56 #define HAVE_ALLOCA 1
    68 #define HAVE_GETENV 1
    57 #define HAVE_GETENV 1
    69 #define HAVE_PUTENV 1
    58 #define HAVE_PUTENV 1
    70 #define HAVE_UNSETENV 1
       
    71 #define HAVE_QSORT 1
    59 #define HAVE_QSORT 1
    72 #define HAVE_ABS 1
    60 #define HAVE_ABS 1
    73 #define HAVE_BCOPY 1
    61 #define HAVE_BCOPY 1
    74 #define HAVE_MEMSET 1
    62 #define HAVE_MEMSET 1
    75 #define HAVE_MEMCPY 1
    63 #define HAVE_MEMCPY 1
    87 #define HAVE_STRCHR 1
    75 #define HAVE_STRCHR 1
    88 #define HAVE_STRRCHR 1
    76 #define HAVE_STRRCHR 1
    89 #define HAVE_STRSTR 1
    77 #define HAVE_STRSTR 1
    90 #define HAVE_ITOA 1
    78 #define HAVE_ITOA 1
    91 #define HAVE__LTOA 1
    79 #define HAVE__LTOA 1
    92 #define HAVE__UITOA 1
       
    93 #define HAVE__ULTOA 1
    80 #define HAVE__ULTOA 1
    94 #define HAVE_STRTOL 1
    81 #define HAVE_STRTOL 1
       
    82 #define HAVE_STRTOUL 1
    95 #define HAVE__I64TOA 1
    83 #define HAVE__I64TOA 1
    96 #define HAVE__UI64TOA 1
    84 #define HAVE__UI64TOA 1
    97 #define HAVE_STRTOLL 1
    85 #define HAVE_STRTOLL 1
       
    86 #define HAVE_STRTOULL 1
    98 #define HAVE_STRTOD 1
    87 #define HAVE_STRTOD 1
    99 #define HAVE_ATOI 1
    88 #define HAVE_ATOI 1
   100 #define HAVE_ATOF 1
    89 #define HAVE_ATOF 1
   101 #define HAVE_STRCMP 1
    90 #define HAVE_STRCMP 1
   102 #define HAVE_STRNCMP 1
    91 #define HAVE_STRNCMP 1
   103 #define HAVE_STRICMP 1
    92 #define HAVE_STRICMP 1
   104 #define HAVE_STRCASECMP 1
    93 #define HAVE_STRCASECMP 1
       
    94 #define HAVE_STRNCASECMP 1
   105 #define HAVE_SSCANF 1
    95 #define HAVE_SSCANF 1
   106 #define HAVE_SNPRINTF 1
    96 #define HAVE_SNPRINTF 1
   107 #define HAVE_VSNPRINTF 1
    97 #define HAVE_VSNPRINTF 1
   108 #define HAVE_SETJMP 1
    98 #define HAVE_SETJMP 1
   109 #define HAVE_CLOCK_GETTIME 1
       
   110 
    99 
   111 /* Enable various audio drivers */
   100 /* Enable various audio drivers */
   112 #define SDL_AUDIO_DRIVER_DART	1
   101 #define SDL_AUDIO_DRIVER_DART	1
   113 #define SDL_AUDIO_DRIVER_DISK	1
   102 #define SDL_AUDIO_DRIVER_DISK	1
   114 #define SDL_AUDIO_DRIVER_DUMMY	1
   103 #define SDL_AUDIO_DRIVER_DUMMY	1
   131 /* Enable various video drivers */
   120 /* Enable various video drivers */
   132 #define SDL_VIDEO_DRIVER_DUMMY	1
   121 #define SDL_VIDEO_DRIVER_DUMMY	1
   133 #define SDL_VIDEO_DRIVER_OS2FS	1
   122 #define SDL_VIDEO_DRIVER_OS2FS	1
   134 
   123 
   135 /* Enable OpenGL support */
   124 /* Enable OpenGL support */
   136 /* Nothing here yet for OS/2... :( */
   125 /* Nothing yet for OS/2. */
   137 
   126 
   138 /* Enable assembly routines where available */
   127 /* Enable assembly routines where available */
   139 #define SDL_ASSEMBLY_ROUTINES	1
   128 #define SDL_ASSEMBLY_ROUTINES	1
   140 
   129 
   141 #endif /* _SDL_config_os2_h */
   130 #endif /* _SDL_config_os2_h */