Mercurial > sdl-ios-xcode
annotate include/SDL_stdinc.h @ 1368:533567cbb576
More fixes for building on BeOS
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 18 Feb 2006 06:51:00 +0000 |
parents | e440d5c488c1 |
children | c0a74f199ecf |
rev | line source |
---|---|
1357 | 1 /* |
2 SDL - Simple DirectMedia Layer | |
3 Copyright (C) 1997-2006 Sam Lantinga | |
4 | |
5 This library is free software; you can redistribute it and/or | |
6 modify it under the terms of the GNU Lesser General Public | |
7 License as published by the Free Software Foundation; either | |
8 version 2.1 of the License, or (at your option) any later version. | |
9 | |
10 This library is distributed in the hope that it will be useful, | |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 Lesser General Public License for more details. | |
14 | |
15 You should have received a copy of the GNU Lesser General Public | |
16 License along with this library; if not, write to the Free Software | |
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
18 | |
19 Sam Lantinga | |
20 slouken@libsdl.org | |
21 */ | |
22 | |
23 /* This is a general header that includes C language support */ | |
24 | |
25 #ifndef _SDL_stdinc_h | |
26 #define _SDL_stdinc_h | |
27 | |
28 #include "SDL_config.h" | |
29 | |
30 /* AIX requires this to be the first thing in the file. */ | |
1368
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
31 #if HAVE_ALLOCA |
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
32 # if HAVE_ALLOCA_H |
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
33 # include <alloca.h> |
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
34 # elif __GNUC__ |
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
35 # define alloca __builtin_alloca |
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
36 # elif _MSC_VER |
1367
e440d5c488c1
Fixes for BeOS and Solaris builds
Sam Lantinga <slouken@libsdl.org>
parents:
1361
diff
changeset
|
37 # include <malloc.h> |
e440d5c488c1
Fixes for BeOS and Solaris builds
Sam Lantinga <slouken@libsdl.org>
parents:
1361
diff
changeset
|
38 # define alloca _alloca |
1368
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
39 # elif _AIX |
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
40 #pragma alloca |
1357 | 41 # else |
1368
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
42 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
533567cbb576
More fixes for building on BeOS
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
43 char *alloca (); |
1357 | 44 # endif |
45 # endif | |
46 #endif | |
47 | |
48 #if HAVE_SYS_TYPES_H | |
49 #include <sys/types.h> | |
50 #endif | |
51 #if HAVE_STDIO_H | |
52 #include <stdio.h> | |
53 #endif | |
54 #if STDC_HEADERS | |
55 # include <stdlib.h> | |
56 # include <stddef.h> | |
57 # include <stdarg.h> | |
58 #else | |
59 # if HAVE_STDLIB_H | |
60 # include <stdlib.h> | |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1357
diff
changeset
|
61 # elif HAVE_MALLOC_H |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
1357
diff
changeset
|
62 # include <malloc.h> |
1357 | 63 # endif |
64 # if HAVE_STDARG_H | |
65 # include <stdarg.h> | |
66 # endif | |
67 #endif | |
68 #if HAVE_STRING_H | |
69 # if !STDC_HEADERS && HAVE_MEMORY_H | |
70 # include <memory.h> | |
71 # endif | |
72 # include <string.h> | |
73 #endif | |
74 #if HAVE_STRINGS_H | |
75 # include <strings.h> | |
76 #endif | |
77 #if HAVE_INTTYPES_H | |
78 # include <inttypes.h> | |
79 #else | |
80 # if HAVE_STDINT_H | |
81 # include <stdint.h> | |
82 # endif | |
83 #endif | |
84 #if HAVE_CTYPE_H | |
85 # include <ctype.h> | |
86 #endif | |
87 | |
88 /* The number of elements in an array */ | |
89 #define SDL_arraysize(array) (sizeof(array)/sizeof(array[0])) | |
90 #define SDL_TABLESIZE(table) SDL_arraysize(table) | |
91 | |
92 /* Basic data types */ | |
93 typedef enum SDL_bool { | |
94 SDL_FALSE = 0, | |
95 SDL_TRUE = 1 | |
96 } SDL_bool; | |
97 | |
98 typedef int8_t Sint8; | |
99 typedef uint8_t Uint8; | |
100 typedef int16_t Sint16; | |
101 typedef uint16_t Uint16; | |
102 typedef int32_t Sint32; | |
103 typedef uint32_t Uint32; | |
104 | |
105 #ifdef SDL_HAS_64BIT_TYPE | |
106 typedef int64_t Sint64; | |
107 typedef uint64_t Uint64; | |
108 #else | |
109 /* This is really just a hack to prevent the compiler from complaining */ | |
110 typedef struct { | |
111 Uint32 hi; | |
112 Uint32 lo; | |
113 } Uint64, Sint64; | |
114 #endif | |
115 | |
116 /* Make sure the types really have the right sizes */ | |
117 #define SDL_COMPILE_TIME_ASSERT(name, x) \ | |
118 typedef int SDL_dummy_ ## name[(x) * 2 - 1] | |
119 | |
120 SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1); | |
121 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1); | |
122 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); | |
123 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2); | |
124 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4); | |
125 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4); | |
126 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); | |
127 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); | |
128 | |
129 /* Check to make sure enums are the size of ints, for structure packing. | |
130 For both Watcom C/C++ and Borland C/C++ the compiler option that makes | |
131 enums having the size of an int must be enabled. | |
132 This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11). | |
133 */ | |
134 /* Enable enums always int in CodeWarrior (for MPW use "-enum int") */ | |
135 #ifdef __MWERKS__ | |
136 #pragma enumsalwaysint on | |
137 #endif | |
138 | |
139 typedef enum { | |
140 DUMMY_ENUM_VALUE | |
141 } SDL_DUMMY_ENUM; | |
142 | |
143 SDL_COMPILE_TIME_ASSERT(enum, sizeof(SDL_DUMMY_ENUM) == sizeof(int)); | |
144 | |
145 | |
146 #include "begin_code.h" | |
147 /* Set up for C function definitions, even when using C++ */ | |
148 #ifdef __cplusplus | |
149 extern "C" { | |
150 #endif | |
151 | |
152 #if HAVE_MALLOC | |
153 #define SDL_malloc malloc | |
154 #else | |
155 extern DECLSPEC void * SDLCALL SDL_malloc(size_t size); | |
156 #endif | |
157 | |
158 #if HAVE_CALLOC | |
159 #define SDL_calloc calloc | |
160 #else | |
161 extern DECLSPEC void * SDLCALL SDL_calloc(size_t nmemb, size_t size); | |
162 #endif | |
163 | |
164 #if HAVE_REALLOC | |
165 #define SDL_realloc realloc | |
166 #else | |
167 extern DECLSPEC void * SDLCALL SDL_realloc(void *mem, size_t size); | |
168 #endif | |
169 | |
170 #if HAVE_FREE | |
171 #define SDL_free free | |
172 #else | |
173 extern DECLSPEC void SDLCALL SDL_free(void *mem); | |
174 #endif | |
175 | |
176 #if HAVE_ALLOCA | |
177 #define SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*count) | |
178 #define SDL_stack_free(data) | |
179 #else | |
180 #define SDL_stack_alloc(type, count) (type*)SDL_malloc(sizeof(type)*count) | |
181 #define SDL_stack_free(data) SDL_free(data) | |
182 #endif | |
183 | |
184 #if HAVE_GETENV | |
185 #define SDL_getenv getenv | |
186 #else | |
187 extern DECLSPEC char * SDLCALL SDL_getenv(const char *name); | |
188 #endif | |
189 | |
190 #if HAVE_PUTENV | |
191 #define SDL_putenv putenv | |
192 #else | |
193 extern DECLSPEC int SDLCALL SDL_putenv(const char *variable); | |
194 #endif | |
195 | |
196 #if HAVE_QSORT | |
197 #define SDL_qsort qsort | |
198 #else | |
199 extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, | |
200 int (*compare)(const void *, const void *)); | |
201 #endif | |
202 | |
203 #if HAVE_ABS | |
204 #define SDL_abs abs | |
205 #else | |
206 #define SDL_abs(X) ((X) < 0 ? -(X) : (X)) | |
207 #endif | |
208 | |
209 #if HAVE_CTYPE_H | |
210 #define SDL_isdigit(X) isdigit(X) | |
211 #define SDL_isspace(X) isspace(X) | |
212 #define SDL_toupper(X) toupper(X) | |
213 #define SDL_tolower(X) tolower(X) | |
214 #else | |
215 #define SDL_isdigit(X) (((X) >= '0') && ((X) <= '9')) | |
216 #define SDL_isspace(X) (((X) == ' ') || ((X) == '\t') || ((X) == '\r') || ((X) == '\n')) | |
217 #define SDL_toupper(X) (((X) >= 'a') && ((X) <= 'z') ? ('A'+((X)-'a')) : (X)) | |
218 #define SDL_tolower(X) (((X) >= 'A') && ((X) <= 'Z') ? ('a'+((X)-'A')) : (X)) | |
219 #endif | |
220 | |
221 #if HAVE_MEMSET | |
222 #define SDL_memset memset | |
223 #else | |
224 extern DECLSPEC void * SDLCALL SDL_memset(void *dst, int c, size_t len); | |
225 #endif | |
226 | |
227 #if defined(__GNUC__) && defined(i386) | |
228 #define SDL_memset4(dst, val, len) \ | |
229 do { \ | |
230 int u0, u1, u2; \ | |
231 __asm__ __volatile__ ( \ | |
232 "cld\n\t" \ | |
233 "rep ; stosl\n\t" \ | |
234 : "=&D" (u0), "=&a" (u1), "=&c" (u2) \ | |
235 : "0" (dst), "1" (val), "2" ((Uint32)(len)) \ | |
236 : "memory" ); \ | |
237 } while(0) | |
238 #endif | |
239 #ifndef SDL_memset4 | |
240 #define SDL_memset4(dst, val, len) \ | |
241 do { \ | |
242 unsigned _count = (len); \ | |
243 unsigned _n = (_count + 3) / 4; \ | |
244 Uint32 *_p = (Uint32 *)(dst); \ | |
245 Uint32 _val = (val); \ | |
246 switch (_count % 4) { \ | |
247 case 0: do { *_p++ = _val; \ | |
248 case 3: *_p++ = _val; \ | |
249 case 2: *_p++ = _val; \ | |
250 case 1: *_p++ = _val; \ | |
251 } while ( --_n ); \ | |
252 } \ | |
253 } while(0) | |
254 #endif | |
255 | |
256 #if defined(__GNUC__) && defined(i386) | |
257 #define SDL_memcpy(dst, src, len) \ | |
258 do { \ | |
259 int u0, u1, u2; \ | |
260 __asm__ __volatile__ ( \ | |
261 "cld\n\t" \ | |
262 "rep ; movsl\n\t" \ | |
263 "testb $2,%b4\n\t" \ | |
264 "je 1f\n\t" \ | |
265 "movsw\n" \ | |
266 "1:\ttestb $1,%b4\n\t" \ | |
267 "je 2f\n\t" \ | |
268 "movsb\n" \ | |
269 "2:" \ | |
270 : "=&c" (u0), "=&D" (u1), "=&S" (u2) \ | |
271 : "0" ((unsigned)(len)/4), "q" (len), "1" (dst),"2" (src) \ | |
272 : "memory" ); \ | |
273 } while(0) | |
274 #endif | |
275 #ifndef SDL_memcpy | |
276 #if HAVE_MEMCPY | |
277 #define SDL_memcpy memcpy | |
278 #elif HAVE_BCOPY | |
279 #define SDL_memcpy(d, s, n) bcopy((s), (d), (n)) | |
280 #else | |
281 extern DECLSPEC void * SDLCALL SDL_memcpy(void *dst, const void *src, size_t len); | |
282 #endif | |
283 #endif | |
284 | |
285 #if defined(__GNUC__) && defined(i386) | |
286 #define SDL_memcpy4(dst, src, len) \ | |
287 do { \ | |
288 int ecx, edi, esi; \ | |
289 __asm__ __volatile__ ( \ | |
290 "cld\n\t" \ | |
291 "rep ; movsl" \ | |
292 : "=&c" (ecx), "=&D" (edi), "=&S" (esi) \ | |
293 : "0" ((unsigned)(len)), "1" (dst), "2" (src) \ | |
294 : "memory" ); \ | |
295 } while(0) | |
296 #endif | |
297 #ifndef SDL_memcpy4 | |
298 #define SDL_memcpy4(dst, src, len) SDL_memcpy(dst, src, (len) << 2) | |
299 #endif | |
300 | |
301 #if defined(__GNUC__) && defined(i386) | |
302 #define SDL_revcpy(dst, src, len) \ | |
303 do { \ | |
304 int u0, u1, u2; \ | |
305 char *dstp = (char *)(dst); \ | |
306 char *srcp = (char *)(src); \ | |
307 int n = (len); \ | |
308 if ( n >= 4 ) { \ | |
309 __asm__ __volatile__ ( \ | |
310 "std\n\t" \ | |
311 "rep ; movsl\n\t" \ | |
312 : "=&c" (u0), "=&D" (u1), "=&S" (u2) \ | |
313 : "0" (n >> 2), \ | |
314 "1" (dstp+(n-4)), "2" (srcp+(n-4)) \ | |
315 : "memory" ); \ | |
316 } \ | |
317 switch (n & 3) { \ | |
318 case 3: dstp[2] = srcp[2]; \ | |
319 case 2: dstp[1] = srcp[1]; \ | |
320 case 1: dstp[0] = srcp[0]; \ | |
321 break; \ | |
322 default: \ | |
323 break; \ | |
324 } \ | |
325 } while(0) | |
326 #endif | |
327 #ifndef SDL_revcpy | |
328 extern DECLSPEC void * SDLCALL SDL_revcpy(void *dst, const void *src, size_t len); | |
329 #endif | |
330 | |
331 #if HAVE_MEMMOVE | |
332 #define SDL_memmove memmove | |
333 #elif HAVE_BCOPY | |
334 #define SDL_memmove(d, s, n) bcopy((s), (d), (n)) | |
335 #else | |
336 #define SDL_memmove(dst, src, len) \ | |
337 do { \ | |
338 if ( dst < src ) { \ | |
339 SDL_memcpy(dst, src, len); \ | |
340 } else { \ | |
341 SDL_revcpy(dst, src, len); \ | |
342 } \ | |
343 } while(0) | |
344 #endif | |
345 | |
346 #if HAVE_MEMCMP | |
347 #define SDL_memcmp memcmp | |
348 #else | |
349 extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len); | |
350 #endif | |
351 | |
352 #if HAVE_STRLEN | |
353 #define SDL_strlen strlen | |
354 #else | |
355 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string); | |
356 #endif | |
357 | |
358 #if HAVE_STRCPY | |
359 #define SDL_strcpy strcpy | |
360 #else | |
361 extern DECLSPEC char * SDLCALL SDL_strcpy(char *dst, const char *src); | |
362 #endif | |
363 | |
364 #if HAVE_STRNCPY | |
365 #define SDL_strncpy strncpy | |
366 #else | |
367 extern DECLSPEC char * SDLCALL SDL_strncpy(char *dst, const char *src, size_t maxlen); | |
368 #endif | |
369 | |
370 #if HAVE_STRCAT | |
371 #define SDL_strcat strcat | |
372 #else | |
373 #define SDL_strcat(dst, src) (SDL_strcpy(dst+SDL_strlen(dst), src), dst) | |
374 #endif | |
375 | |
376 #if HAVE_STRNCAT | |
377 #define SDL_strncat strncat | |
378 #else | |
379 #define SDL_strncat(dst, src, n) (SDL_strncpy(dst+SDL_strlen(dst), src, n), dst) | |
380 #endif | |
381 | |
382 #if HAVE_STRDUP | |
383 #define SDL_strdup strdup | |
384 #else | |
385 extern DECLSPEC char * SDLCALL SDL_strdup(const char *string); | |
386 #endif | |
387 | |
388 #if HAVE__STRREV | |
389 #define SDL_strrev _strrev | |
390 #else | |
391 extern DECLSPEC char * SDLCALL SDL_strrev(char *string); | |
392 #endif | |
393 | |
394 #if HAVE__STRUPR | |
395 #define SDL_strupr _strupr | |
396 #else | |
397 extern DECLSPEC char * SDLCALL SDL_strupr(char *string); | |
398 #endif | |
399 | |
400 #if HAVE__STRLWR | |
401 #define SDL_strlwr _strlwr | |
402 #else | |
403 extern DECLSPEC char * SDLCALL SDL_strlwr(char *string); | |
404 #endif | |
405 | |
406 #if HAVE_STRCHR | |
407 #define SDL_strchr strchr | |
408 #elif HAVE_INDEX | |
409 #define SDL_strchr index | |
410 #else | |
411 extern DECLSPEC char * SDLCALL SDL_strchr(const char *string, int c); | |
412 #endif | |
413 | |
414 #if HAVE_STRRCHR | |
415 #define SDL_strrchr strrchr | |
416 #elif HAVE_RINDEX | |
417 #define SDL_strrchr rindex | |
418 #else | |
419 extern DECLSPEC char * SDLCALL SDL_strrchr(const char *string, int c); | |
420 #endif | |
421 | |
422 #if HAVE_STRSTR | |
423 #define SDL_strstr strstr | |
424 #else | |
425 extern DECLSPEC char * SDLCALL SDL_strstr(const char *haystack, const char *needle); | |
426 #endif | |
427 | |
428 #if HAVE_ITOA | |
429 #define SDL_itoa itoa | |
430 #else | |
431 #define SDL_itoa(value, string, radix) SDL_ltoa((long)value, string, radix) | |
432 #endif | |
433 | |
434 #if HAVE__LTOA | |
435 #define SDL_ltoa _ltoa | |
436 #else | |
437 extern DECLSPEC char * SDLCALL SDL_ltoa(long value, char *string, int radix); | |
438 #endif | |
439 | |
440 #if HAVE__UITOA | |
441 #define SDL_uitoa _uitoa | |
442 #else | |
443 #define SDL_uitoa(value, string, radix) SDL_ultoa((long)value, string, radix) | |
444 #endif | |
445 | |
446 #if HAVE__ULTOA | |
447 #define SDL_ultoa _ultoa | |
448 #else | |
449 extern DECLSPEC char * SDLCALL SDL_ultoa(unsigned long value, char *string, int radix); | |
450 #endif | |
451 | |
452 #if HAVE_STRTOL | |
453 #define SDL_strtol strtol | |
454 #else | |
455 extern DECLSPEC long SDLCALL SDL_strtol(const char *string, char **endp, int base); | |
456 #endif | |
457 | |
458 #if SDL_HAS_64BIT_TYPE | |
459 | |
460 #if HAVE__I64TOA | |
461 #define SDL_lltoa _i64toa | |
462 #else | |
463 extern DECLSPEC char* SDLCALL SDL_lltoa(Sint64 value, char *string, int radix); | |
464 #endif | |
465 | |
466 #if HAVE__UI64TOA | |
467 #define SDL_ulltoa _ui64toa | |
468 #else | |
469 extern DECLSPEC char* SDLCALL SDL_ulltoa(Uint64 value, char *string, int radix); | |
470 #endif | |
471 | |
472 #if HAVE_STRTOLL | |
473 #define SDL_strtoll strtoll | |
474 #else | |
475 extern DECLSPEC Sint64 SDLCALL SDL_strtoll(const char *string, char **endp, int base); | |
476 #endif | |
477 | |
478 #endif /* SDL_HAS_64BIT_TYPE */ | |
479 | |
480 #if HAVE_STRTOD | |
481 #define SDL_strtod strtod | |
482 #else | |
483 extern DECLSPEC double SDLCALL SDL_strtod(const char *string, char **endp); | |
484 #endif | |
485 | |
486 #if HAVE_ATOI | |
487 #define SDL_atoi atoi | |
488 #else | |
489 #define SDL_atoi(X) SDL_strtol(X, NULL, 0) | |
490 #endif | |
491 | |
492 #if HAVE_ATOF | |
493 #define SDL_atof atof | |
494 #else | |
495 #define SDL_atof(X) SDL_strtod(X, NULL) | |
496 #endif | |
497 | |
498 #if HAVE_STRCMP | |
499 #define SDL_strcmp strcmp | |
500 #else | |
501 extern DECLSPEC int SDLCALL SDL_strcmp(const char *str1, const char *str2); | |
502 #endif | |
503 | |
504 #if HAVE_STRNCMP | |
505 #define SDL_strncmp strncmp | |
506 #else | |
507 extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size_t maxlen); | |
508 #endif | |
509 | |
510 #if HAVE_STRCASECMP | |
511 #define SDL_strcasecmp strcasecmp | |
512 #elif HAVE_STRICMP | |
513 #define SDL_strcasecmp stricmp | |
514 #else | |
515 extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2); | |
516 #endif | |
517 | |
518 #if HAVE_SSCANF | |
519 #define SDL_sscanf sscanf | |
520 #else | |
521 extern DECLSPEC int SDLCALL SDL_sscanf(const char *text, const char *fmt, ...); | |
522 #endif | |
523 | |
524 #if HAVE_SNPRINTF | |
525 #define SDL_snprintf snprintf | |
526 #else | |
527 extern DECLSPEC int SDLCALL SDL_snprintf(char *text, size_t maxlen, const char *fmt, ...); | |
528 #endif | |
529 | |
530 #if HAVE_VSNPRINTF | |
531 #define SDL_vsnprintf vsnprintf | |
532 #else | |
533 extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap); | |
534 #endif | |
535 | |
536 /* Ends C function definitions when using C++ */ | |
537 #ifdef __cplusplus | |
538 } | |
539 #endif | |
540 #include "close_code.h" | |
541 | |
542 #endif /* _SDL_stdinc_h */ |