include/SDL_config_android.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 25 Mar 2011 13:47:49 -0700
changeset 5512 56ab281d7d3e
parent 5262 b530ef003506
child 5535 96594ac5fd1a
permissions -rw-r--r--
SDL 1.3 requires a 64-bit type for the platform.
paul@4700
     1
/*
paul@4700
     2
    SDL - Simple DirectMedia Layer
slouken@5262
     3
    Copyright (C) 1997-2011 Sam Lantinga
paul@4700
     4
paul@4700
     5
    This library is free software; you can redistribute it and/or
paul@4700
     6
    modify it under the terms of the GNU Lesser General Public
paul@4700
     7
    License as published by the Free Software Foundation; either
paul@4700
     8
    version 2.1 of the License, or (at your option) any later version.
paul@4700
     9
paul@4700
    10
    This library is distributed in the hope that it will be useful,
paul@4700
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
paul@4700
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
paul@4700
    13
    Lesser General Public License for more details.
paul@4700
    14
paul@4700
    15
    You should have received a copy of the GNU Lesser General Public
paul@4700
    16
    License along with this library; if not, write to the Free Software
paul@4700
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
paul@4700
    18
paul@4700
    19
    Sam Lantinga
paul@4700
    20
    slouken@libsdl.org
paul@4700
    21
*/
paul@4700
    22
paul@4700
    23
#ifndef _SDL_config_android_h
paul@4700
    24
#define _SDL_config_android_h
paul@4700
    25
paul@4700
    26
#include "SDL_platform.h"
paul@4700
    27
paul@4700
    28
/**
paul@4700
    29
 *  \file SDL_config_android.h
paul@4700
    30
 *  
paul@4700
    31
 *  This is a configuration that can be used to build SDL for Android
paul@4700
    32
 */
paul@4700
    33
paul@4700
    34
#include <stdarg.h>
paul@4700
    35
paul@4720
    36
#define HAVE_ALLOCA_H		1
paul@4720
    37
#define HAVE_SYS_TYPES_H	1
paul@4720
    38
#define HAVE_STDIO_H	1
paul@4720
    39
#define STDC_HEADERS	1
paul@4720
    40
#define HAVE_STRING_H	1
paul@4720
    41
#define HAVE_INTTYPES_H	1
paul@4720
    42
#define HAVE_STDINT_H	1
paul@4720
    43
#define HAVE_CTYPE_H	1
paul@4720
    44
#define HAVE_MATH_H	1
paul@4720
    45
#define HAVE_SIGNAL_H	1
paul@4720
    46
paul@4720
    47
/* C library functions */
paul@4720
    48
#define HAVE_MALLOC	1
paul@4720
    49
#define HAVE_CALLOC	1
paul@4720
    50
#define HAVE_REALLOC	1
paul@4720
    51
#define HAVE_FREE	1
paul@4720
    52
#define HAVE_ALLOCA	1
paul@4720
    53
#define HAVE_GETENV	1
paul@4720
    54
#define HAVE_SETENV	1
paul@4720
    55
#define HAVE_PUTENV	1
paul@4720
    56
#define HAVE_SETENV	1
paul@4720
    57
#define HAVE_UNSETENV	1
paul@4720
    58
#define HAVE_QSORT	1
paul@4720
    59
#define HAVE_ABS	1
paul@4720
    60
#define HAVE_BCOPY	1
paul@4720
    61
#define HAVE_MEMSET	1
paul@4720
    62
#define HAVE_MEMCPY	1
paul@4720
    63
#define HAVE_MEMMOVE	1
paul@4720
    64
#define HAVE_MEMCMP	1
paul@4720
    65
#define HAVE_STRLEN	1
paul@4720
    66
#define HAVE_STRLCPY	1
paul@4720
    67
#define HAVE_STRLCAT	1
paul@4720
    68
#define HAVE_STRDUP	1
paul@4720
    69
#define HAVE_STRCHR	1
paul@4720
    70
#define HAVE_STRRCHR	1
paul@4720
    71
#define HAVE_STRSTR	1
paul@4720
    72
#define HAVE_STRTOL	1
paul@4720
    73
#define HAVE_STRTOUL	1
paul@4720
    74
#define HAVE_STRTOLL	1
paul@4720
    75
#define HAVE_STRTOULL	1
paul@4720
    76
#define HAVE_STRTOD	1
paul@4720
    77
#define HAVE_ATOI	1
paul@4720
    78
#define HAVE_ATOF	1
paul@4720
    79
#define HAVE_STRCMP	1
paul@4720
    80
#define HAVE_STRNCMP	1
paul@4720
    81
#define HAVE_STRCASECMP	1
paul@4720
    82
#define HAVE_STRNCASECMP 1
paul@4720
    83
#define HAVE_SSCANF	1
paul@4720
    84
#define HAVE_SNPRINTF	1
paul@4720
    85
#define HAVE_VSNPRINTF	1
slouken@4960
    86
#define HAVE_M_PI	1
slouken@4960
    87
#define HAVE_ATAN	1
slouken@4960
    88
#define HAVE_ATAN2	1
paul@4720
    89
#define HAVE_CEIL	1
paul@4720
    90
#define HAVE_COPYSIGN	1
paul@4720
    91
#define HAVE_COS	1
paul@4720
    92
#define HAVE_COSF	1
paul@4720
    93
#define HAVE_FABS	1
paul@4720
    94
#define HAVE_FLOOR	1
paul@4720
    95
#define HAVE_LOG	1
paul@4720
    96
#define HAVE_POW	1
paul@4720
    97
#define HAVE_SCALBN	1
paul@4720
    98
#define HAVE_SIN	1
paul@4720
    99
#define HAVE_SINF	1
paul@4720
   100
#define HAVE_SQRT	1
paul@4720
   101
#define HAVE_SIGACTION	1
paul@4720
   102
#define HAVE_SETJMP	1
paul@4720
   103
#define HAVE_NANOSLEEP	1
paul@4720
   104
#define HAVE_SYSCONF	1
paul@4720
   105
paul@4700
   106
#define SIZEOF_VOIDP 4
paul@4700
   107
slouken@4960
   108
/* Enable various audio drivers */
paul@4719
   109
#define SDL_AUDIO_DRIVER_ANDROID	1
slouken@4960
   110
#define SDL_AUDIO_DRIVER_DUMMY	1
paul@4700
   111
slouken@4960
   112
/* Enable various input drivers */
slouken@4960
   113
#define SDL_JOYSTICK_ANDROID	1
slouken@4960
   114
#define SDL_HAPTIC_DUMMY	1
paul@4700
   115
slouken@4960
   116
/* Enable various shared object loading systems */
slouken@4964
   117
#define SDL_LOADSO_DLOPEN	1
paul@4700
   118
paul@4720
   119
/* Enable various threading systems */
paul@4720
   120
#define SDL_THREAD_PTHREAD	1
paul@4720
   121
#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX	1
paul@4700
   122
paul@4720
   123
/* Enable various timer systems */
paul@4720
   124
#define SDL_TIMER_UNIX	1
paul@4700
   125
slouken@4960
   126
/* Enable various video drivers */
paul@4701
   127
#define SDL_VIDEO_DRIVER_ANDROID 1
paul@4700
   128
slouken@4960
   129
/* Enable OpenGL ES */
slouken@4960
   130
#define SDL_VIDEO_OPENGL_ES	1
slouken@4960
   131
#define SDL_VIDEO_RENDER_OGL_ES	1
slouken@5204
   132
#define SDL_VIDEO_RENDER_OGL_ES2	1
paul@4701
   133
paul@4700
   134
#endif /* _SDL_config_minimal_h */