19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* 29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall SDL - Simple DirectMedia Layer 39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall Copyright (C) 1997-2012 Sam Lantinga 49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall This library is free software; you can redistribute it and/or 69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall modify it under the terms of the GNU Lesser General Public 79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall License as published by the Free Software Foundation; either 89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall version 2.1 of the License, or (at your option) any later version. 99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall This library is distributed in the hope that it will be useful, 119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall but WITHOUT ANY WARRANTY; without even the implied warranty of 129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall Lesser General Public License for more details. 149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall You should have received a copy of the GNU Lesser General Public 169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall License along with this library; if not, write to the Free Software 179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall Sam Lantinga 209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall slouken@libsdl.org 219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall*/ 229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef _SDL_config_nds_h 249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define _SDL_config_nds_h 259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_platform.h" 279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* This is a set of defines to configure the SDL features */ 299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* General platform specific identifiers */ 319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_platform.h" 329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* C datatypes */ 349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_HAS_64BIT_TYPE 1 359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Endianness */ 379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_BYTEORDER 1234 389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Useful headers */ 409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ALLOCA_H 1 419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SYS_TYPES_H 1 429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDIO_H 1 439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define STDC_HEADERS 1 449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDLIB_H 1 459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDARG_H 1 469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MALLOC_H 1 479682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRING_H 1 489682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_INTTYPES_H 1 499682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDINT_H 1 509682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_CTYPE_H 1 519682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MATH_H 1 529682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ICONV_H 1 539682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SIGNAL_H 1 549682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 559682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* C library functions */ 569682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MALLOC 1 579682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_CALLOC 1 589682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_REALLOC 1 599682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_FREE 1 609682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ALLOCA 1 619682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_GETENV 1 629682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_PUTENV 1 639682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_UNSETENV 1 649682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_QSORT 1 659682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ABS 1 669682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_BCOPY 1 679682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMSET 1 689682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMCPY 1 699682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMMOVE 1 709682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRLEN 1 719682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRLCPY 1 729682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRLCAT 1 739682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRDUP 1 749682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCHR 1 759682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRRCHR 1 769682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRSTR 1 779682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOL 1 789682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOUL 1 799682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOLL 1 809682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOULL 1 819682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ATOI 1 829682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ATOF 1 839682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCMP 1 849682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRNCMP 1 859682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCASECMP 1 869682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRNCASECMP 1 879682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SSCANF 1 889682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SNPRINTF 1 899682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_VSNPRINTF 1 909682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SETJMP 1 919682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 929682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various audio drivers */ 939682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_NDS 1 949682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_DUMMY 1 959682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 969682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ 979682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_CDROM_DISABLED 1 989682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 999682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various input drivers */ 1009682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_JOYSTICK_NDS 1 1019682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 1029682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ 1039682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_LOADSO_DISABLED 1 1049682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 1059682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable the stub thread support (src/thread/generic/\*.c) */ 1069682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_THREADS_DISABLED 1 1079682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 1089682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various timer systems */ 1099682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_TIMER_NDS 1 1109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 1119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various video drivers */ 1129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_NDS 1 1139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_DUMMY 1 1149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 1159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif /* _SDL_config_nds_h */ 116