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