From the README.txt file:
[supertux.git] / mk / msvc / config.h
1 /* config.h.in.  Generated from configure.ac by autoheader.  */\r
2 \r
3 /* Include pthread support for binary relocation? */\r
4 //#undef BR_PTHREAD\r
5 \r
6 /* define to compile in debug checks */\r
7 #define DEBUG\r
8 \r
9 /* Use binary relocation? */\r
10 //#undef ENABLE_BINRELOC\r
11 \r
12 /* define if sqdbg should be enabled */\r
13 //#undef ENABLE_SQDBG\r
14 \r
15 /* Use the Apple OpenGL framework. */\r
16 //#undef HAVE_APPLE_OPENGL_FRAMEWORK\r
17 \r
18 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.\r
19    */\r
20 //#undef HAVE_DIRENT_H\r
21 \r
22 /* Define if you have the iconv() function. */\r
23 //#undef HAVE_ICONV\r
24 \r
25 /* Define to 1 if you have the <inttypes.h> header file. */\r
26 //#undef HAVE_INTTYPES_H\r
27 \r
28 /* Define to 1 if you have the `pthread' library (-lpthread). */\r
29 //#undef HAVE_LIBPTHREAD\r
30 \r
31 /* Define to 1 if you have the <memory.h> header file. */\r
32 #define HAVE_MEMORY_H 1\r
33 \r
34 /* Define to 1 if you have the `mkdir' function. */\r
35 //#define HAVE_MKDIR\r
36 \r
37 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */\r
38 //#undef HAVE_NDIR_H\r
39 \r
40 /* Define if you have POSIX threads libraries and header files. */\r
41 //#undef HAVE_PTHREAD\r
42 \r
43 /* Define to 1 if you have the <stdint.h> header file. */\r
44 //#undef HAVE_STDINT_H\r
45 \r
46 /* Define to 1 if you have the <stdlib.h> header file. */\r
47 #define HAVE_STDLIB_H 1\r
48 \r
49 /* Define to 1 if you have the `strdup' function. */\r
50 #define HAVE_STRDUP 1\r
51 \r
52 /* Define to 1 if you have the <strings.h> header file. */\r
53 //#define HAVE_STRINGS_H\r
54 \r
55 /* Define to 1 if you have the <string.h> header file. */\r
56 #define HAVE_STRING_H 1\r
57 \r
58 /* Define to 1 if you have the `strstr' function. */\r
59 #define HAVE_STRSTR 1\r
60 \r
61 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.\r
62    */\r
63 //#undef HAVE_SYS_DIR_H\r
64 \r
65 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.\r
66    */\r
67 //#undef HAVE_SYS_NDIR_H\r
68 \r
69 /* Define to 1 if you have the <sys/stat.h> header file. */\r
70 //#undef HAVE_SYS_STAT_H\r
71 \r
72 /* Define to 1 if you have the <sys/types.h> header file. */\r
73 //#undef HAVE_SYS_TYPES_H\r
74 \r
75 /* Define to 1 if you have the <unistd.h> header file. */\r
76 //#undef HAVE_UNISTD_H\r
77 \r
78 /* Define to 1 if you have the <windows.h> header file. */\r
79 #define HAVE_WINDOWS_H 1\r
80 \r
81 /* Define as const if the declaration of iconv() needs const. */\r
82 #define ICONV_CONST const\r
83 \r
84 /* Define to the address where bug reports for this package should be sent. */\r
85 #define PACKAGE_BUGREPORT ""\r
86 \r
87 /* Define to the full name of this package. */\r
88 #define PACKAGE_NAME "supertux"\r
89 \r
90 /* Define to the full name and version of this package. */\r
91 #define PACKAGE_STRING "supertux 0.3.0-SVN"\r
92 \r
93 /* Define to the one symbol short name of this package. */\r
94 #define PACKAGE_TARNAME "supertux"\r
95 \r
96 /* Define to the version of this package. */\r
97 #define PACKAGE_VERSION "0.3.0-SVN"\r
98 \r
99 /* Define to necessary symbol if this constant uses a non-standard name on\r
100    your system. */\r
101 //#undef PTHREAD_CREATE_JOINABLE\r
102 \r
103 /* The size of a `void *', as computed by sizeof. */\r
104 #define SIZEOF_VOID_P 4\r
105 \r
106 /* Define to 1 if you have the ANSI C header files. */\r
107 #define STDC_HEADERS 1\r
108 \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
112 \r
113 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a\r
114    `char[]'. */\r
115 // #undef YYTEXT_POINTER\r
116 \r
117 /* Define to empty if `const' does not conform to ANSI C. */\r
118 // #undef const\r
119 \r
120 \r
121 #if SIZEOF_VOID_P == 8\r
122 #define _SQ64\r
123 #endif\r
124 \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
130 \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
137 \r
138 #ifndef M_PI\r
139 #define M_PI        3.14159265358979323846\r
140 #endif\r
141 #ifndef M_PI_2\r
142 #define M_PI_2      (3.14159265358979323846/2.0)\r
143 #endif\r
144 \r
145 static inline int roundf(float val)\r
146 {\r
147   if(val > 0) {\r
148     return (int) (val + 0.5f);\r
149   } else {\r
150     return (int) (val - 0.5f);\r
151   }\r
152 }\r
153 \r
154 // msvc has no sscanf it seems, this breaks demo recording, but who cares...\r
155 static inline int sscanf(...)\r
156 {\r
157   return -1;\r
158 }