include/SDL_config_android.h
author Paul Hunkin <paul@bieh.net>
Thu, 10 Jun 2010 18:54:23 +1200
changeset 4701 d40bb3165d2b
parent 4700 cf23d9b8e606
child 4719 d59792d2c3ae
permissions -rwxr-xr-x
Added (partially implemented) android video backend and associated files needed to build
paul@4700
     1
/*
paul@4700
     2
    SDL - Simple DirectMedia Layer
paul@4700
     3
    Copyright (C) 1997-2010 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@4700
    36
/*
paul@4700
    37
typedef signed char int8_t;
paul@4700
    38
typedef unsigned char uint8_t;
paul@4700
    39
typedef signed short int16_t;
paul@4700
    40
typedef unsigned short uint16_t;
paul@4700
    41
typedef signed int int32_t;
paul@4700
    42
typedef unsigned int uint32_t;
paul@4700
    43
*/
paul@4700
    44
paul@4700
    45
#define SIZEOF_VOIDP 4
paul@4700
    46
paul@4700
    47
typedef unsigned int size_t;
paul@4700
    48
//typedef unsigned long uintptr_t;
paul@4700
    49
paul@4700
    50
#define SDL_AUDIO_DRIVER_DUMMY	1
paul@4700
    51
paul@4700
    52
#define SDL_CDROM_DISABLED 1
paul@4700
    53
paul@4700
    54
#define SDL_HAPTIC_DISABLED 1
paul@4700
    55
paul@4700
    56
#define SDL_JOYSTICK_DISABLED 1
paul@4700
    57
paul@4700
    58
#define SDL_LOADSO_DISABLED 1
paul@4700
    59
paul@4700
    60
#define SDL_THREADS_DISABLED 1
paul@4700
    61
paul@4700
    62
#define SDL_TIMERS_DISABLED	1
paul@4700
    63
paul@4700
    64
#define SDL_TIMER_UNIX 1
paul@4700
    65
paul@4701
    66
#define SDL_VIDEO_DRIVER_ANDROID 1
paul@4700
    67
paul@4700
    68
#define HAVE_STDIO_H 1
paul@4700
    69
#define HAVE_SYS_TYPES_H 1
paul@4700
    70
paul@4701
    71
#define HAVE_M_PI 1
paul@4701
    72
paul@4701
    73
#define SDL_VIDEO_RENDER_OGL_ES 1
paul@4701
    74
paul@4700
    75
#endif /* _SDL_config_minimal_h */
paul@4700
    76