include/SDL_config_symbian.h
branchSDL-1.2
changeset 3975 e85e65aec22f
child 4004 ce8046809062
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/include/SDL_config_symbian.h	Sun Jun 24 18:26:35 2007 +0000
     1.3 @@ -0,0 +1,146 @@
     1.4 +/*
     1.5 +    SDL - Simple DirectMedia Layer
     1.6 +    Copyright (C) 1997-2006 Sam Lantinga
     1.7 +
     1.8 +    This library is free software; you can redistribute it and/or
     1.9 +    modify it under the terms of the GNU Lesser General Public
    1.10 +    License as published by the Free Software Foundation; either
    1.11 +    version 2.1 of the License, or (at your option) any later version.
    1.12 +
    1.13 +    This library is distributed in the hope that it will be useful,
    1.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.16 +    Lesser General Public License for more details.
    1.17 +
    1.18 +    You should have received a copy of the GNU Lesser General Public
    1.19 +    License along with this library; if not, write to the Free Software
    1.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    1.21 +
    1.22 +    Sam Lantinga
    1.23 +    slouken@libsdl.org
    1.24 +*/
    1.25 +
    1.26 +/*
    1.27 +
    1.28 +Symbian version Markus Mertama
    1.29 +
    1.30 +*/
    1.31 +
    1.32 +
    1.33 +#ifndef _SDL_CONFIG_SYMBIAN_H
    1.34 +#define _SDL_CONFIG_SYMBIAN_H
    1.35 +
    1.36 +#include "SDL_platform.h"
    1.37 +
    1.38 +/* This is the minimal configuration that can be used to build SDL */
    1.39 +
    1.40 +
    1.41 +#include <stdarg.h>
    1.42 +#include <stddef.h>
    1.43 +
    1.44 +
    1.45 +#ifdef __GCCE__
    1.46 +#define SYMBIAN32_GCCE
    1.47 +#endif
    1.48 +
    1.49 +#ifndef _SIZE_T_DEFINED
    1.50 +typedef unsigned int size_t;
    1.51 +#endif
    1.52 +
    1.53 +#ifndef _INTPTR_T_DECLARED
    1.54 +typedef unsigned int uintptr_t;
    1.55 +#endif 
    1.56 +
    1.57 +#ifndef _INT8_T_DECLARED
    1.58 +typedef signed char int8_t;
    1.59 +#endif 
    1.60 +
    1.61 +#ifndef _UINT8_T_DECLARED
    1.62 +typedef unsigned char uint8_t;
    1.63 +#endif
    1.64 +
    1.65 +#ifndef _INT16_T_DECLARED
    1.66 +typedef signed short int16_t;
    1.67 +#endif
    1.68 +
    1.69 +#ifndef _UINT16_T_DECLARED
    1.70 +typedef unsigned short uint16_t;
    1.71 +#endif
    1.72 +
    1.73 +#ifndef _INT32_T_DECLARED
    1.74 +typedef signed int int32_t;
    1.75 +#endif
    1.76 +
    1.77 +#ifndef _UINT32_T_DECLARED
    1.78 +typedef unsigned int uint32_t;
    1.79 +#endif
    1.80 +
    1.81 +#ifndef _INT64_T_DECLARED
    1.82 +typedef signed long long int64_t;
    1.83 +#endif
    1.84 +
    1.85 +#ifndef _UINT64_T_DECLARED
    1.86 +typedef unsigned long long uint64_t;
    1.87 +#endif
    1.88 +
    1.89 +#define SDL_AUDIO_DRIVER_EPOCAUDIO	1
    1.90 +
    1.91 +
    1.92 +/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
    1.93 +#define SDL_CDROM_DISABLED	1
    1.94 +
    1.95 +/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
    1.96 +#define SDL_JOYSTICK_DISABLED	1
    1.97 +
    1.98 +/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
    1.99 +#define SDL_LOADSO_DISABLED	1
   1.100 +
   1.101 +#define SDL_THREAD_SYMBIAN 1
   1.102 +
   1.103 +#define SDL_VIDEO_DRIVER_EPOC    1
   1.104 +
   1.105 +#define SDL_VIDEO_OPENGL 0
   1.106 +
   1.107 +#define SDL_HAS_64BIT_TYPE	1
   1.108 +
   1.109 +#define HAVE_LIBC	1
   1.110 +#define HAVE_STDIO_H 1
   1.111 +#define STDC_HEADERS 1
   1.112 +#define HAVE_STRING_H 1
   1.113 +#define HAVE_CTYPE_H 1
   1.114 +#define HAVE_MATH_H 1
   1.115 +
   1.116 +#define HAVE_MALLOC 1
   1.117 +#define HAVE_CALLOC 1
   1.118 +#define HAVE_REALLOC 1
   1.119 +#define HAVE_FREE 1
   1.120 +//#define HAVE_ALLOCA 1
   1.121 +#define HAVE_QSORT 1
   1.122 +#define HAVE_ABS 1
   1.123 +#define HAVE_MEMSET 1
   1.124 +#define HAVE_MEMCPY 1
   1.125 +#define HAVE_MEMMOVE 1
   1.126 +#define HAVE_MEMCMP 1
   1.127 +#define HAVE_STRLEN 1
   1.128 +#define HAVE__STRUPR 1
   1.129 +#define HAVE_STRCHR 1
   1.130 +#define HAVE_STRRCHR 1
   1.131 +#define HAVE_STRSTR 1
   1.132 +#define HAVE_ITOA 1
   1.133 +#define HAVE_STRTOL 1
   1.134 +#define HAVE_STRTOUL 1
   1.135 +#define HAVE_STRTOLL 1
   1.136 +#define HAVE_STRTOD 1
   1.137 +#define HAVE_ATOI 1
   1.138 +#define HAVE_ATOF 1
   1.139 +#define HAVE_STRCMP 1
   1.140 +#define HAVE_STRNCMP 1
   1.141 +#define HAVE__STRICMP 1
   1.142 +#define HAVE__STRNICMP 1
   1.143 +#define HAVE_SSCANF 1
   1.144 +#define HAVE_STDARG_H	1
   1.145 +#define HAVE_STDDEF_H	1
   1.146 +
   1.147 +
   1.148 +
   1.149 +#endif /* _SDL_CONFIG_SYMBIAN_H */