include/SDL_config_symbian.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 28 Dec 2007 07:50:01 +0000
branchSDL-1.2
changeset 4097 c5169b89787f
parent 4004 ce8046809062
child 4159 a1b03ba2fcd0
permissions -rw-r--r--
Removed stray C++ comment
icculus@3975
     1
/*
icculus@3975
     2
    SDL - Simple DirectMedia Layer
icculus@3975
     3
    Copyright (C) 1997-2006 Sam Lantinga
icculus@3975
     4
icculus@3975
     5
    This library is free software; you can redistribute it and/or
icculus@3975
     6
    modify it under the terms of the GNU Lesser General Public
icculus@3975
     7
    License as published by the Free Software Foundation; either
icculus@3975
     8
    version 2.1 of the License, or (at your option) any later version.
icculus@3975
     9
icculus@3975
    10
    This library is distributed in the hope that it will be useful,
icculus@3975
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
icculus@3975
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
icculus@3975
    13
    Lesser General Public License for more details.
icculus@3975
    14
icculus@3975
    15
    You should have received a copy of the GNU Lesser General Public
icculus@3975
    16
    License along with this library; if not, write to the Free Software
icculus@3975
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
icculus@3975
    18
icculus@3975
    19
    Sam Lantinga
icculus@3975
    20
    slouken@libsdl.org
icculus@3975
    21
*/
icculus@3975
    22
icculus@3975
    23
/*
icculus@3975
    24
icculus@3975
    25
Symbian version Markus Mertama
icculus@3975
    26
icculus@3975
    27
*/
icculus@3975
    28
icculus@3975
    29
icculus@3975
    30
#ifndef _SDL_CONFIG_SYMBIAN_H
icculus@3975
    31
#define _SDL_CONFIG_SYMBIAN_H
icculus@3975
    32
icculus@3975
    33
#include "SDL_platform.h"
icculus@3975
    34
icculus@3975
    35
/* This is the minimal configuration that can be used to build SDL */
icculus@3975
    36
icculus@3975
    37
icculus@3975
    38
#include <stdarg.h>
icculus@3975
    39
#include <stddef.h>
icculus@3975
    40
icculus@3975
    41
icculus@3975
    42
#ifdef __GCCE__
icculus@3975
    43
#define SYMBIAN32_GCCE
icculus@3975
    44
#endif
icculus@3975
    45
icculus@3975
    46
#ifndef _SIZE_T_DEFINED
icculus@3975
    47
typedef unsigned int size_t;
icculus@3975
    48
#endif
icculus@3975
    49
icculus@3975
    50
#ifndef _INTPTR_T_DECLARED
icculus@3975
    51
typedef unsigned int uintptr_t;
icculus@3975
    52
#endif 
icculus@3975
    53
icculus@3975
    54
#ifndef _INT8_T_DECLARED
icculus@3975
    55
typedef signed char int8_t;
icculus@3975
    56
#endif 
icculus@3975
    57
icculus@3975
    58
#ifndef _UINT8_T_DECLARED
icculus@3975
    59
typedef unsigned char uint8_t;
icculus@3975
    60
#endif
icculus@3975
    61
icculus@3975
    62
#ifndef _INT16_T_DECLARED
icculus@3975
    63
typedef signed short int16_t;
icculus@3975
    64
#endif
icculus@3975
    65
icculus@3975
    66
#ifndef _UINT16_T_DECLARED
icculus@3975
    67
typedef unsigned short uint16_t;
icculus@3975
    68
#endif
icculus@3975
    69
icculus@3975
    70
#ifndef _INT32_T_DECLARED
icculus@3975
    71
typedef signed int int32_t;
icculus@3975
    72
#endif
icculus@3975
    73
icculus@3975
    74
#ifndef _UINT32_T_DECLARED
icculus@3975
    75
typedef unsigned int uint32_t;
icculus@3975
    76
#endif
icculus@3975
    77
icculus@3975
    78
#ifndef _INT64_T_DECLARED
icculus@3975
    79
typedef signed long long int64_t;
icculus@3975
    80
#endif
icculus@3975
    81
icculus@3975
    82
#ifndef _UINT64_T_DECLARED
icculus@3975
    83
typedef unsigned long long uint64_t;
icculus@3975
    84
#endif
icculus@3975
    85
icculus@3975
    86
#define SDL_AUDIO_DRIVER_EPOCAUDIO	1
icculus@3975
    87
icculus@3975
    88
icculus@3975
    89
/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
icculus@3975
    90
#define SDL_CDROM_DISABLED	1
icculus@3975
    91
icculus@3975
    92
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
icculus@3975
    93
#define SDL_JOYSTICK_DISABLED	1
icculus@3975
    94
icculus@3975
    95
/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
icculus@3975
    96
#define SDL_LOADSO_DISABLED	1
icculus@3975
    97
icculus@3975
    98
#define SDL_THREAD_SYMBIAN 1
icculus@3975
    99
icculus@3975
   100
#define SDL_VIDEO_DRIVER_EPOC    1
icculus@3975
   101
icculus@3975
   102
#define SDL_VIDEO_OPENGL 0
icculus@3975
   103
icculus@3975
   104
#define SDL_HAS_64BIT_TYPE	1
icculus@3975
   105
icculus@3975
   106
#define HAVE_LIBC	1
icculus@3975
   107
#define HAVE_STDIO_H 1
icculus@3975
   108
#define STDC_HEADERS 1
icculus@3975
   109
#define HAVE_STRING_H 1
icculus@3975
   110
#define HAVE_CTYPE_H 1
icculus@3975
   111
#define HAVE_MATH_H 1
icculus@3975
   112
icculus@3975
   113
#define HAVE_MALLOC 1
icculus@3975
   114
#define HAVE_CALLOC 1
icculus@3975
   115
#define HAVE_REALLOC 1
icculus@3975
   116
#define HAVE_FREE 1
slouken@4097
   117
/*#define HAVE_ALLOCA 1*/
icculus@3975
   118
#define HAVE_QSORT 1
icculus@3975
   119
#define HAVE_ABS 1
icculus@3975
   120
#define HAVE_MEMSET 1
icculus@3975
   121
#define HAVE_MEMCPY 1
icculus@3975
   122
#define HAVE_MEMMOVE 1
icculus@3975
   123
#define HAVE_MEMCMP 1
icculus@3975
   124
#define HAVE_STRLEN 1
icculus@3975
   125
#define HAVE__STRUPR 1
icculus@3975
   126
#define HAVE_STRCHR 1
icculus@3975
   127
#define HAVE_STRRCHR 1
icculus@3975
   128
#define HAVE_STRSTR 1
icculus@3975
   129
#define HAVE_ITOA 1
icculus@3975
   130
#define HAVE_STRTOL 1
icculus@3975
   131
#define HAVE_STRTOUL 1
icculus@3975
   132
#define HAVE_STRTOLL 1
icculus@3975
   133
#define HAVE_STRTOD 1
icculus@3975
   134
#define HAVE_ATOI 1
icculus@3975
   135
#define HAVE_ATOF 1
icculus@3975
   136
#define HAVE_STRCMP 1
icculus@3975
   137
#define HAVE_STRNCMP 1
slouken@4097
   138
/*#define HAVE__STRICMP 1*/
icculus@3975
   139
#define HAVE__STRNICMP 1
icculus@3975
   140
#define HAVE_SSCANF 1
icculus@3975
   141
#define HAVE_STDARG_H	1
icculus@3975
   142
#define HAVE_STDDEF_H	1
icculus@3975
   143
icculus@3975
   144
icculus@3975
   145
icculus@3975
   146
#endif /* _SDL_CONFIG_SYMBIAN_H */