premake/config/SDL_config_cygwin.template.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 02 Jan 2016 10:10:34 -0800
changeset 9998 f67cf37e9cd4
parent 9619 b94b6d0bff0f
permissions -rw-r--r--
Updated copyright to 2016
     1 /* include/SDL_config.h.  Generated from SDL_config.h.in by configure.  */
     2 /*
     3   Simple DirectMedia Layer
     4   Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org>
     5 
     6   This software is provided 'as-is', without any express or implied
     7   warranty.  In no event will the authors be held liable for any damages
     8   arising from the use of this software.
     9 
    10   Permission is granted to anyone to use this software for any purpose,
    11   including commercial applications, and to alter it and redistribute it
    12   freely, subject to the following restrictions:
    13 
    14   1. The origin of this software must not be misrepresented; you must not
    15      claim that you wrote the original software. If you use this software
    16      in a product, an acknowledgment in the product documentation would be
    17      appreciated but is not required.
    18   2. Altered source versions must be plainly marked as such, and must not be
    19      misrepresented as being the original software.
    20   3. This notice may not be removed or altered from any source distribution.
    21 */
    22 
    23 #ifndef _SDL_config_linux_h
    24 #define _SDL_config_linux_h
    25 
    26 /**
    27  *  \file SDL_config.h.in
    28  *
    29  *  This is a set of defines to configure the SDL features
    30  */
    31 
    32 /* General platform specific identifiers */
    33 #include "SDL_platform.h"
    34 
    35 /* Make sure that this isn't included by Visual C++ */
    36 #ifdef _MSC_VER
    37 #error You should run hg revert SDL_config.h 
    38 #endif
    39 
    40 /* C language features */
    41 /* #undef const */
    42 /* #undef inline */
    43 /* #undef volatile */
    44 
    45 /* C datatypes */
    46 #define SIZEOF_VOIDP 4
    47 #define HAVE_GCC_ATOMICS 1
    48 /* #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET */
    49 
    50 /* Comment this if you want to build without any C library requirements */
    51 #define HAVE_LIBC 0
    52 #if HAVE_LIBC
    53 
    54 /* Useful headers */
    55 #define HAVE_ALLOCA_H 1
    56 #define HAVE_SYS_TYPES_H 1
    57 #define HAVE_STDIO_H 1
    58 #define STDC_HEADERS 1
    59 #define HAVE_STDLIB_H 1
    60 #define HAVE_STDARG_H 1
    61 #define HAVE_MALLOC_H 1
    62 #define HAVE_MEMORY_H 1
    63 #define HAVE_STRING_H 1
    64 #define HAVE_STRINGS_H 1
    65 #define HAVE_INTTYPES_H 1
    66 #define HAVE_STDINT_H 1
    67 #define HAVE_CTYPE_H 1
    68 #define HAVE_MATH_H 1
    69 #define HAVE_ICONV_H 1
    70 #define HAVE_SIGNAL_H 1
    71 /* #undef HAVE_ALTIVEC_H */
    72 /* #undef HAVE_PTHREAD_NP_H */
    73 /* #undef HAVE_LIBUDEV_H */
    74 #define HAVE_DBUS_DBUS_H 1
    75 
    76 /* C library functions */
    77 #define HAVE_MALLOC 1
    78 #define HAVE_CALLOC 1
    79 #define HAVE_REALLOC 1
    80 #define HAVE_FREE 1
    81 #define HAVE_ALLOCA 1
    82 #ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
    83 #define HAVE_GETENV 1
    84 #define HAVE_SETENV 1
    85 #define HAVE_PUTENV 1
    86 #define HAVE_UNSETENV 1
    87 #endif
    88 #define HAVE_QSORT 1
    89 #define HAVE_ABS 1
    90 #define HAVE_BCOPY 1
    91 #define HAVE_MEMSET 1
    92 #define HAVE_MEMCPY 1
    93 #define HAVE_MEMMOVE 1
    94 #define HAVE_MEMCMP 1
    95 #define HAVE_STRLEN 1
    96 /* #undef HAVE_STRLCPY */
    97 /* #undef HAVE_STRLCAT */
    98 #define HAVE_STRDUP 1
    99 /* #undef HAVE__STRREV */
   100 /* #undef HAVE__STRUPR */
   101 /* #undef HAVE__STRLWR */
   102 /* #undef HAVE_INDEX */
   103 /* #undef HAVE_RINDEX */
   104 #define HAVE_STRCHR 1
   105 #define HAVE_STRRCHR 1
   106 #define HAVE_STRSTR 1
   107 /* #undef HAVE_ITOA */
   108 /* #undef HAVE__LTOA */
   109 /* #undef HAVE__UITOA */
   110 /* #undef HAVE__ULTOA */
   111 #define HAVE_STRTOL 1
   112 #define HAVE_STRTOUL 1
   113 /* #undef HAVE__I64TOA */
   114 /* #undef HAVE__UI64TOA */
   115 #define HAVE_STRTOLL 1
   116 #define HAVE_STRTOULL 1
   117 #define HAVE_STRTOD 1
   118 #define HAVE_ATOI 1
   119 #define HAVE_ATOF 1
   120 #define HAVE_STRCMP 1
   121 #define HAVE_STRNCMP 1
   122 /* #undef HAVE__STRICMP */
   123 #define HAVE_STRCASECMP 1
   124 /* #undef HAVE__STRNICMP */
   125 #define HAVE_STRNCASECMP 1
   126 #define HAVE_VSSCANF 1
   127 #define HAVE_VSNPRINTF 1
   128 #define HAVE_M_PI /**/
   129 #define HAVE_ATAN 1
   130 #define HAVE_ATAN2 1
   131 #define HAVE_CEIL 1
   132 #define HAVE_COPYSIGN 1
   133 #define HAVE_COS 1
   134 #define HAVE_COSF 1
   135 #define HAVE_FABS 1
   136 #define HAVE_FLOOR 1
   137 #define HAVE_LOG 1
   138 #define HAVE_POW 1
   139 #define HAVE_SCALBN 1
   140 #define HAVE_SIN 1
   141 #define HAVE_SINF 1
   142 #define HAVE_SQRT 1
   143 #define HAVE_FSEEKO 1
   144 #define HAVE_FSEEKO64 1
   145 #define HAVE_SIGACTION 1
   146 #define HAVE_SA_SIGACTION 1
   147 #define HAVE_SETJMP 1
   148 #define HAVE_NANOSLEEP 1
   149 #define HAVE_SYSCONF 1
   150 /* #undef HAVE_SYSCTLBYNAME */
   151 #define HAVE_CLOCK_GETTIME 1
   152 /* #undef HAVE_GETPAGESIZE */
   153 #define HAVE_MPROTECT 1
   154 #define HAVE_ICONV 1
   155 #define HAVE_PTHREAD_SETNAME_NP 1
   156 /* #undef HAVE_PTHREAD_SET_NAME_NP */
   157 #define HAVE_SEM_TIMEDWAIT 1
   158 
   159 #else
   160 #define HAVE_STDARG_H 1
   161 #define HAVE_STDDEF_H 1
   162 #define HAVE_STDINT_H 1
   163 #endif /* HAVE_LIBC */
   164 
   165 /* Paste generated code here */
   166 
   167 /* Enable assembly routines */
   168 #define SDL_ASSEMBLY_ROUTINES 1
   169 /* #undef SDL_ALTIVEC_BLITTERS */
   170 
   171 #endif /* _SDL_config_h */