1 /* config.h.in. Generated from configure.ac by autoheader. */
\r
3 /* Include pthread support for binary relocation? */
\r
6 /* define to compile in debug checks */
\r
9 /* Use binary relocation? */
\r
10 //#undef ENABLE_BINRELOC
\r
12 /* define if sqdbg should be enabled */
\r
13 //#undef ENABLE_SQDBG
\r
15 /* Use the Apple OpenGL framework. */
\r
16 //#undef HAVE_APPLE_OPENGL_FRAMEWORK
\r
18 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
\r
20 //#undef HAVE_DIRENT_H
\r
22 /* Define if you have the iconv() function. */
\r
25 /* Define to 1 if you have the <inttypes.h> header file. */
\r
26 //#undef HAVE_INTTYPES_H
\r
28 /* Define to 1 if you have the `pthread' library (-lpthread). */
\r
29 //#undef HAVE_LIBPTHREAD
\r
31 /* Define to 1 if you have the <memory.h> header file. */
\r
32 #define HAVE_MEMORY_H 1
\r
34 /* Define to 1 if you have the `mkdir' function. */
\r
35 //#define HAVE_MKDIR
\r
37 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
\r
38 //#undef HAVE_NDIR_H
\r
40 /* Define if you have POSIX threads libraries and header files. */
\r
41 //#undef HAVE_PTHREAD
\r
43 /* Define to 1 if you have the <stdint.h> header file. */
\r
44 //#undef HAVE_STDINT_H
\r
46 /* Define to 1 if you have the <stdlib.h> header file. */
\r
47 #define HAVE_STDLIB_H 1
\r
49 /* Define to 1 if you have the `strdup' function. */
\r
50 #define HAVE_STRDUP 1
\r
52 /* Define to 1 if you have the <strings.h> header file. */
\r
53 //#define HAVE_STRINGS_H
\r
55 /* Define to 1 if you have the <string.h> header file. */
\r
56 #define HAVE_STRING_H 1
\r
58 /* Define to 1 if you have the `strstr' function. */
\r
59 #define HAVE_STRSTR 1
\r
61 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
\r
63 //#undef HAVE_SYS_DIR_H
\r
65 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
\r
67 //#undef HAVE_SYS_NDIR_H
\r
69 /* Define to 1 if you have the <sys/stat.h> header file. */
\r
70 //#undef HAVE_SYS_STAT_H
\r
72 /* Define to 1 if you have the <sys/types.h> header file. */
\r
73 //#undef HAVE_SYS_TYPES_H
\r
75 /* Define to 1 if you have the <unistd.h> header file. */
\r
76 //#undef HAVE_UNISTD_H
\r
78 /* Define to 1 if you have the <windows.h> header file. */
\r
79 #define HAVE_WINDOWS_H 1
\r
81 /* Define as const if the declaration of iconv() needs const. */
\r
82 #define ICONV_CONST const
\r
84 /* Define to the address where bug reports for this package should be sent. */
\r
85 #define PACKAGE_BUGREPORT ""
\r
87 /* Define to the full name of this package. */
\r
88 #define PACKAGE_NAME "supertux"
\r
90 /* Define to the full name and version of this package. */
\r
91 #define PACKAGE_STRING "supertux 0.3.0-SVN"
\r
93 /* Define to the one symbol short name of this package. */
\r
94 #define PACKAGE_TARNAME "supertux"
\r
96 /* Define to the version of this package. */
\r
97 #define PACKAGE_VERSION "0.3.0-SVN"
\r
99 /* Define to necessary symbol if this constant uses a non-standard name on
\r
101 //#undef PTHREAD_CREATE_JOINABLE
\r
103 /* The size of a `void *', as computed by sizeof. */
\r
104 #define SIZEOF_VOID_P 4
\r
106 /* Define to 1 if you have the ANSI C header files. */
\r
107 #define STDC_HEADERS 1
\r
109 /* Define to 1 if your processor stores words with the most significant byte
\r
110 first (like Motorola and SPARC, unlike Intel and VAX). */
\r
111 // #undef WORDS_BIGENDIAN
\r
113 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
\r
115 // #undef YYTEXT_POINTER
\r
117 /* Define to empty if `const' does not conform to ANSI C. */
\r
121 #if SIZEOF_VOID_P == 8
\r
125 /* Disable some very annoying warnings */
\r
126 #pragma warning(disable: 4244)
\r
127 #pragma warning(disable: 4267)
\r
128 #pragma warning(disable: 4800)
\r
129 #pragma warning(disable: 4103)
\r
131 /* some stuff is not in standard lib in msvc */
\r
132 #define _CRT_SECURE_NO_DEPRECATE
\r
133 #define snprintf _snprintf
\r
134 #define strcasecmp _strcmpi
\r
135 #define strncasecmp _strncmpi
\r
136 #define strdup _strdup
\r
139 #define M_PI 3.14159265358979323846
\r
142 #define M_PI_2 (3.14159265358979323846/2.0)
\r
145 static inline int roundf(float val)
\r
148 return (int) (val + 0.5f);
\r
150 return (int) (val - 0.5f);
\r
154 // msvc has no sscanf it seems, this breaks demo recording, but who cares...
\r
155 static inline int sscanf(...)
\r