include/SDL_config_android.h
changeset 4700 cf23d9b8e606
child 4701 d40bb3165d2b
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/include/SDL_config_android.h	Sun May 23 15:18:16 2010 +1200
     1.3 @@ -0,0 +1,72 @@
     1.4 +/*
     1.5 +    SDL - Simple DirectMedia Layer
     1.6 +    Copyright (C) 1997-2010 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 +#ifndef _SDL_config_android_h
    1.27 +#define _SDL_config_android_h
    1.28 +
    1.29 +#include "SDL_platform.h"
    1.30 +
    1.31 +/**
    1.32 + *  \file SDL_config_android.h
    1.33 + *  
    1.34 + *  This is a configuration that can be used to build SDL for Android
    1.35 + */
    1.36 +
    1.37 +#include <stdarg.h>
    1.38 +
    1.39 +/*
    1.40 +typedef signed char int8_t;
    1.41 +typedef unsigned char uint8_t;
    1.42 +typedef signed short int16_t;
    1.43 +typedef unsigned short uint16_t;
    1.44 +typedef signed int int32_t;
    1.45 +typedef unsigned int uint32_t;
    1.46 +*/
    1.47 +
    1.48 +#define SIZEOF_VOIDP 4
    1.49 +
    1.50 +typedef unsigned int size_t;
    1.51 +//typedef unsigned long uintptr_t;
    1.52 +
    1.53 +#define SDL_AUDIO_DRIVER_DUMMY	1
    1.54 +
    1.55 +#define SDL_CDROM_DISABLED 1
    1.56 +
    1.57 +#define SDL_HAPTIC_DISABLED 1
    1.58 +
    1.59 +#define SDL_JOYSTICK_DISABLED 1
    1.60 +
    1.61 +#define SDL_LOADSO_DISABLED 1
    1.62 +
    1.63 +#define SDL_THREADS_DISABLED 1
    1.64 +
    1.65 +#define SDL_TIMERS_DISABLED	1
    1.66 +
    1.67 +#define SDL_TIMER_UNIX 1
    1.68 +
    1.69 +#define SDL_VIDEO_DRIVER_DUMMY 1
    1.70 +
    1.71 +#define HAVE_STDIO_H 1
    1.72 +#define HAVE_SYS_TYPES_H 1
    1.73 +
    1.74 +#endif /* _SDL_config_minimal_h */
    1.75 +