include/SDL_config_os2.h
author Ryan C. Gordon <icculus@icculus.org>
Tue, 14 Mar 2006 08:53:33 +0000
changeset 1532 30f189cdd82b
parent 1442 e3242177fe4a
child 1533 38c1eb6b0083
permissions -rw-r--r--
Implemented dummy audio driver.

Fixes Bugzilla #161.
slouken@1442
     1
/*
slouken@1442
     2
    SDL - Simple DirectMedia Layer
slouken@1442
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@1442
     4
slouken@1442
     5
    This library is free software; you can redistribute it and/or
slouken@1442
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1442
     7
    License as published by the Free Software Foundation; either
slouken@1442
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1442
     9
slouken@1442
    10
    This library is distributed in the hope that it will be useful,
slouken@1442
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1442
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1442
    13
    Lesser General Public License for more details.
slouken@1442
    14
slouken@1442
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1442
    16
    License along with this library; if not, write to the Free Software
slouken@1442
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1442
    18
slouken@1442
    19
    Sam Lantinga
slouken@1442
    20
    slouken@libsdl.org
slouken@1442
    21
*/
slouken@1442
    22
slouken@1442
    23
#ifndef _SDL_config_os2_h
slouken@1442
    24
#define _SDL_config_os2_h
slouken@1442
    25
slouken@1442
    26
/* This is a set of defines to configure the SDL features */
slouken@1442
    27
slouken@1442
    28
typedef signed char         int8_t;
slouken@1442
    29
typedef unsigned char       uint8_t;
slouken@1442
    30
typedef signed short        int16_t;
slouken@1442
    31
typedef unsigned short      uint16_t;
slouken@1442
    32
typedef signed int          int32_t;
slouken@1442
    33
typedef unsigned int        uint32_t;
slouken@1442
    34
typedef unsigned int        size_t;
slouken@1442
    35
typedef unsigned long       uintptr_t;
slouken@1442
    36
typedef signed long long    int64_t;
slouken@1442
    37
typedef unsigned long long  uint64_t;
slouken@1442
    38
slouken@1442
    39
#define SDL_HAS_64BIT_TYPE	1
slouken@1442
    40
slouken@1442
    41
/* Use Watcom's LIBC */
slouken@1442
    42
#define HAVE_LIBC 1
slouken@1442
    43
slouken@1442
    44
/* Useful headers */
slouken@1442
    45
#define HAVE_SYS_TYPES_H 1
slouken@1442
    46
#define HAVE_STDIO_H 1
slouken@1442
    47
#define STDC_HEADERS 1
slouken@1442
    48
#define HAVE_STDLIB_H 1
slouken@1442
    49
#define HAVE_STDARG_H 1
slouken@1442
    50
#define HAVE_MALLOC_H 1
slouken@1442
    51
#define HAVE_MEMORY_H 1
slouken@1442
    52
#define HAVE_STRING_H 1
slouken@1442
    53
#define HAVE_STRINGS_H 1
slouken@1442
    54
#define HAVE_INTTYPES_H 1
slouken@1442
    55
#define HAVE_STDINT_H 1
slouken@1442
    56
#define HAVE_CTYPE_H 1
slouken@1442
    57
#define HAVE_MATH_H 1
slouken@1442
    58
#define HAVE_SIGNAL_H 1
slouken@1442
    59
slouken@1442
    60
/* C library functions */
slouken@1442
    61
#define HAVE_MALLOC 1
slouken@1442
    62
#define HAVE_CALLOC 1
slouken@1442
    63
#define HAVE_REALLOC 1
slouken@1442
    64
#define HAVE_FREE 1
slouken@1442
    65
#define HAVE_ALLOCA 1
slouken@1442
    66
#define HAVE_GETENV 1
slouken@1442
    67
#define HAVE_PUTENV 1
slouken@1442
    68
#define HAVE_UNSETENV 1
slouken@1442
    69
#define HAVE_QSORT 1
slouken@1442
    70
#define HAVE_ABS 1
slouken@1442
    71
#define HAVE_BCOPY 1
slouken@1442
    72
#define HAVE_MEMSET 1
slouken@1442
    73
#define HAVE_MEMCPY 1
slouken@1442
    74
#define HAVE_MEMMOVE 1
slouken@1442
    75
#define HAVE_MEMCMP 1
slouken@1442
    76
#define HAVE_STRLEN 1
slouken@1442
    77
#define HAVE_STRLCPY 1
slouken@1442
    78
#define HAVE_STRLCAT 1
slouken@1442
    79
#define HAVE_STRDUP 1
slouken@1442
    80
#define HAVE__STRREV 1
slouken@1442
    81
#define HAVE__STRUPR 1
slouken@1442
    82
#define HAVE__STRLWR 1
slouken@1442
    83
#define HAVE_INDEX 1
slouken@1442
    84
#define HAVE_RINDEX 1
slouken@1442
    85
#define HAVE_STRCHR 1
slouken@1442
    86
#define HAVE_STRRCHR 1
slouken@1442
    87
#define HAVE_STRSTR 1
slouken@1442
    88
#define HAVE_ITOA 1
slouken@1442
    89
#define HAVE__LTOA 1
slouken@1442
    90
#define HAVE__UITOA 1
slouken@1442
    91
#define HAVE__ULTOA 1
slouken@1442
    92
#define HAVE_STRTOL 1
slouken@1442
    93
#define HAVE__I64TOA 1
slouken@1442
    94
#define HAVE__UI64TOA 1
slouken@1442
    95
#define HAVE_STRTOLL 1
slouken@1442
    96
#define HAVE_STRTOD 1
slouken@1442
    97
#define HAVE_ATOI 1
slouken@1442
    98
#define HAVE_ATOF 1
slouken@1442
    99
#define HAVE_STRCMP 1
slouken@1442
   100
#define HAVE_STRNCMP 1
slouken@1442
   101
#define HAVE_STRICMP 1
slouken@1442
   102
#define HAVE_STRCASECMP 1
slouken@1442
   103
#define HAVE_SSCANF 1
slouken@1442
   104
#define HAVE_SNPRINTF 1
slouken@1442
   105
#define HAVE_VSNPRINTF 1
slouken@1442
   106
#define HAVE_SETJMP 1
slouken@1442
   107
#define HAVE_CLOCK_GETTIME 1
slouken@1442
   108
slouken@1442
   109
/* Enable various audio drivers */
slouken@1442
   110
#define SDL_AUDIO_DRIVER_DART	1
icculus@1532
   111
#define SDL_AUDIO_DRIVER_DISK	1
icculus@1532
   112
#define SDL_AUDIO_DRIVER_DUMMY	1
slouken@1442
   113
slouken@1442
   114
/* Enable various cdrom drivers */
slouken@1442
   115
#define SDL_CDROM_OS2	1
slouken@1442
   116
slouken@1442
   117
/* Enable various input drivers */
slouken@1442
   118
#define SDL_JOYSTICK_OS2	1
slouken@1442
   119
slouken@1442
   120
/* Enable various shared object loading systems */
slouken@1442
   121
#define SDL_LOADSO_OS2	1
slouken@1442
   122
slouken@1442
   123
/* Enable various threading systems */
slouken@1442
   124
#define SDL_THREAD_OS2	1
slouken@1442
   125
slouken@1442
   126
/* Enable various timer systems */
slouken@1442
   127
#define SDL_TIMER_OS2	1
slouken@1442
   128
slouken@1442
   129
/* Enable various video drivers */
slouken@1442
   130
#define SDL_VIDEO_DRIVER_OS2FS	1
slouken@1442
   131
slouken@1442
   132
/* Enable OpenGL support */
slouken@1442
   133
/* Nothing here yet for OS/2... :( */
slouken@1442
   134
slouken@1442
   135
/* Enable assembly routines where available */
slouken@1442
   136
#define SDL_ASSEMBLY_ROUTINES	1
slouken@1442
   137
slouken@1442
   138
#endif /* _SDL_config_os2_h */