SDL_config_symbian.h 3.0 KB

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