2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997-2009 Sam Lantinga
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 Symbian version Markus Mertama
30 #ifndef _SDL_CONFIG_SYMBIAN_H
31 #define _SDL_CONFIG_SYMBIAN_H
33 #include "SDL_platform.h"
35 /* This is the minimal configuration that can be used to build SDL */
43 #define SYMBIAN32_GCCE
46 #ifndef _SIZE_T_DEFINED
47 typedef unsigned int size_t;
50 #ifndef _INTPTR_T_DECLARED
51 typedef unsigned int uintptr_t;
54 #ifndef _INT8_T_DECLARED
55 typedef signed char int8_t;
58 #ifndef _UINT8_T_DECLARED
59 typedef unsigned char uint8_t;
62 #ifndef _INT16_T_DECLARED
63 typedef signed short int16_t;
66 #ifndef _UINT16_T_DECLARED
67 typedef unsigned short uint16_t;
70 #ifndef _INT32_T_DECLARED
71 typedef signed int int32_t;
74 #ifndef _UINT32_T_DECLARED
75 typedef unsigned int uint32_t;
78 #ifndef _INT64_T_DECLARED
79 typedef signed long long int64_t;
82 #ifndef _UINT64_T_DECLARED
83 typedef unsigned long long uint64_t;
86 #define SDL_AUDIO_DRIVER_EPOCAUDIO 1
89 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
90 #define SDL_CDROM_DISABLED 1
92 /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
93 #define SDL_JOYSTICK_DISABLED 1
95 /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
96 #define SDL_LOADSO_DISABLED 1
98 #define SDL_THREAD_SYMBIAN 1
100 #define SDL_VIDEO_DRIVER_EPOC 1
102 #define SDL_VIDEO_OPENGL 0
104 #define SDL_HAS_64BIT_TYPE 1
107 #define HAVE_STDIO_H 1
108 #define STDC_HEADERS 1
109 #define HAVE_STRING_H 1
110 #define HAVE_CTYPE_H 1
111 #define HAVE_MATH_H 1
113 #define HAVE_MALLOC 1
114 #define HAVE_CALLOC 1
115 #define HAVE_REALLOC 1
117 /*#define HAVE_ALLOCA 1*/
120 #define HAVE_MEMSET 1
121 #define HAVE_MEMCPY 1
122 #define HAVE_MEMMOVE 1
123 #define HAVE_MEMCMP 1
124 #define HAVE_STRLEN 1
125 #define HAVE__STRUPR 1
126 #define HAVE_STRCHR 1
127 #define HAVE_STRRCHR 1
128 #define HAVE_STRSTR 1
130 #define HAVE_STRTOL 1
131 #define HAVE_STRTOUL 1
132 #define HAVE_STRTOLL 1
133 #define HAVE_STRTOD 1
136 #define HAVE_STRCMP 1
137 #define HAVE_STRNCMP 1
138 /*#define HAVE__STRICMP 1*/
139 #define HAVE__STRNICMP 1
140 #define HAVE_SSCANF 1
141 #define HAVE_STDARG_H 1
142 #define HAVE_STDDEF_H 1
146 #endif /* _SDL_CONFIG_SYMBIAN_H */