premake/config/SDL_config_linux.template.h
changeset 7925 f090a47eb7f7
child 8089 de8b6fdf6544
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/premake/config/SDL_config_linux.template.h	Sun Nov 10 00:38:37 2013 -0500
     1.3 @@ -0,0 +1,180 @@
     1.4 +/* include/SDL_config.h.  Generated from SDL_config.h.in by configure.  */
     1.5 +/*
     1.6 +  Simple DirectMedia Layer
     1.7 +  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
     1.8 +
     1.9 +  This software is provided 'as-is', without any express or implied
    1.10 +  warranty.  In no event will the authors be held liable for any damages
    1.11 +  arising from the use of this software.
    1.12 +
    1.13 +  Permission is granted to anyone to use this software for any purpose,
    1.14 +  including commercial applications, and to alter it and redistribute it
    1.15 +  freely, subject to the following restrictions:
    1.16 +
    1.17 +  1. The origin of this software must not be misrepresented; you must not
    1.18 +     claim that you wrote the original software. If you use this software
    1.19 +     in a product, an acknowledgment in the product documentation would be
    1.20 +     appreciated but is not required.
    1.21 +  2. Altered source versions must be plainly marked as such, and must not be
    1.22 +     misrepresented as being the original software.
    1.23 +  3. This notice may not be removed or altered from any source distribution.
    1.24 +*/
    1.25 +
    1.26 +#ifndef _SDL_config_linux_h
    1.27 +#define _SDL_config_linux_h
    1.28 +
    1.29 +/**
    1.30 + *  \file SDL_config.h.in
    1.31 + *
    1.32 + *  This is a set of defines to configure the SDL features
    1.33 + */
    1.34 +
    1.35 +/* General platform specific identifiers */
    1.36 +#include "SDL_platform.h"
    1.37 +
    1.38 +/* Make sure that this isn't included by Visual C++ */
    1.39 +#ifdef _MSC_VER
    1.40 +#error You should run hg revert SDL_config.h 
    1.41 +#endif
    1.42 +
    1.43 +/* C language features */
    1.44 +/* #undef const */
    1.45 +/* #undef inline */
    1.46 +/* #undef volatile */
    1.47 +
    1.48 +/* C datatypes */
    1.49 +#ifdef __LP64__
    1.50 +#define SIZEOF_VOIDP 8
    1.51 +#else
    1.52 +#define SIZEOF_VOIDP 4
    1.53 +#endif
    1.54 +#define HAVE_GCC_ATOMICS 1
    1.55 +/* #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET */
    1.56 +#define HAVE_PTHREAD_SPINLOCK 1
    1.57 +
    1.58 +/* Comment this if you want to build without any C library requirements */
    1.59 +#define HAVE_LIBC 1
    1.60 +#if HAVE_LIBC
    1.61 +
    1.62 +/* Useful headers */
    1.63 +#define HAVE_ALLOCA_H 1
    1.64 +#define HAVE_SYS_TYPES_H 1
    1.65 +#define HAVE_STDIO_H 1
    1.66 +#define STDC_HEADERS 1
    1.67 +#define HAVE_STDLIB_H 1
    1.68 +#define HAVE_STDARG_H 1
    1.69 +#define HAVE_MALLOC_H 1
    1.70 +#define HAVE_MEMORY_H 1
    1.71 +#define HAVE_STRING_H 1
    1.72 +#define HAVE_STRINGS_H 1
    1.73 +#define HAVE_INTTYPES_H 1
    1.74 +#define HAVE_STDINT_H 1
    1.75 +#define HAVE_CTYPE_H 1
    1.76 +#define HAVE_MATH_H 1
    1.77 +#define HAVE_ICONV_H 1
    1.78 +#define HAVE_SIGNAL_H 1
    1.79 +/* #undef HAVE_ALTIVEC_H */
    1.80 +/* #undef HAVE_PTHREAD_NP_H */
    1.81 +/* #undef HAVE_LIBUDEV_H */
    1.82 +#define HAVE_DBUS_DBUS_H 1
    1.83 +
    1.84 +/* C library functions */
    1.85 +#define HAVE_MALLOC 1
    1.86 +#define HAVE_CALLOC 1
    1.87 +#define HAVE_REALLOC 1
    1.88 +#define HAVE_FREE 1
    1.89 +#define HAVE_ALLOCA 1
    1.90 +#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
    1.91 +#define HAVE_GETENV 1
    1.92 +#define HAVE_SETENV 1
    1.93 +#define HAVE_PUTENV 1
    1.94 +#define HAVE_UNSETENV 1
    1.95 +#endif
    1.96 +#define HAVE_QSORT 1
    1.97 +#define HAVE_ABS 1
    1.98 +#define HAVE_BCOPY 1
    1.99 +#define HAVE_MEMSET 1
   1.100 +#define HAVE_MEMCPY 1
   1.101 +#define HAVE_MEMMOVE 1
   1.102 +#define HAVE_MEMCMP 1
   1.103 +#define HAVE_STRLEN 1
   1.104 +/* #undef HAVE_STRLCPY */
   1.105 +/* #undef HAVE_STRLCAT */
   1.106 +#define HAVE_STRDUP 1
   1.107 +/* #undef HAVE__STRREV */
   1.108 +/* #undef HAVE__STRUPR */
   1.109 +/* #undef HAVE__STRLWR */
   1.110 +/* #undef HAVE_INDEX */
   1.111 +/* #undef HAVE_RINDEX */
   1.112 +#define HAVE_STRCHR 1
   1.113 +#define HAVE_STRRCHR 1
   1.114 +#define HAVE_STRSTR 1
   1.115 +/* #undef HAVE_ITOA */
   1.116 +/* #undef HAVE__LTOA */
   1.117 +/* #undef HAVE__UITOA */
   1.118 +/* #undef HAVE__ULTOA */
   1.119 +#define HAVE_STRTOL 1
   1.120 +#define HAVE_STRTOUL 1
   1.121 +/* #undef HAVE__I64TOA */
   1.122 +/* #undef HAVE__UI64TOA */
   1.123 +#define HAVE_STRTOLL 1
   1.124 +#define HAVE_STRTOULL 1
   1.125 +#define HAVE_STRTOD 1
   1.126 +#define HAVE_ATOI 1
   1.127 +#define HAVE_ATOF 1
   1.128 +#define HAVE_STRCMP 1
   1.129 +#define HAVE_STRNCMP 1
   1.130 +/* #undef HAVE__STRICMP */
   1.131 +#define HAVE_STRCASECMP 1
   1.132 +/* #undef HAVE__STRNICMP */
   1.133 +#define HAVE_STRNCASECMP 1
   1.134 +#define HAVE_SSCANF 1
   1.135 +#define HAVE_SNPRINTF 1
   1.136 +#define HAVE_VSNPRINTF 1
   1.137 +#define HAVE_M_PI /**/
   1.138 +#define HAVE_ATAN 1
   1.139 +#define HAVE_ATAN2 1
   1.140 +#define HAVE_CEIL 1
   1.141 +#define HAVE_COPYSIGN 1
   1.142 +#define HAVE_COS 1
   1.143 +#define HAVE_COSF 1
   1.144 +#define HAVE_FABS 1
   1.145 +#define HAVE_FLOOR 1
   1.146 +#define HAVE_LOG 1
   1.147 +#define HAVE_POW 1
   1.148 +#define HAVE_SCALBN 1
   1.149 +#define HAVE_SIN 1
   1.150 +#define HAVE_SINF 1
   1.151 +#define HAVE_SQRT 1
   1.152 +#define HAVE_FSEEKO 1
   1.153 +#define HAVE_FSEEKO64 1
   1.154 +#define HAVE_SIGACTION 1
   1.155 +#define HAVE_SA_SIGACTION 1
   1.156 +#define HAVE_SETJMP 1
   1.157 +#define HAVE_NANOSLEEP 1
   1.158 +#define HAVE_SYSCONF 1
   1.159 +/* #undef HAVE_SYSCTLBYNAME */
   1.160 +#define HAVE_CLOCK_GETTIME 1
   1.161 +/* #undef HAVE_GETPAGESIZE */
   1.162 +#define HAVE_MPROTECT 1
   1.163 +#define HAVE_ICONV 1
   1.164 +#define HAVE_PTHREAD_SETNAME_NP 1
   1.165 +/* #undef HAVE_PTHREAD_SET_NAME_NP */
   1.166 +#define HAVE_SEM_TIMEDWAIT 1
   1.167 +
   1.168 +#else
   1.169 +#define HAVE_STDARG_H 1
   1.170 +#define HAVE_STDDEF_H 1
   1.171 +#define HAVE_STDINT_H 1
   1.172 +#endif /* HAVE_LIBC */
   1.173 +
   1.174 +/* SDL internal assertion support */
   1.175 +/* #undef SDL_DEFAULT_ASSERT_LEVEL */
   1.176 +
   1.177 +/* Paste generated code here */
   1.178 +
   1.179 +/* Enable assembly routines */
   1.180 +#define SDL_ASSEMBLY_ROUTINES 1
   1.181 +/* #undef SDL_ALTIVEC_BLITTERS */
   1.182 +
   1.183 +#endif /* _SDL_config_h */