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