Mercurial > sdl-ios-xcode
comparison test/testfile.c @ 2765:f55c87ae336b
Final merge of Google Summer of Code 2008 work...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 04 Oct 2008 06:46:59 +0000 |
parents | 891ed60fcaa9 |
children | 27ab20a36eba |
comparison
equal
deleted
inserted
replaced
2764:4868c0df2e83 | 2765:f55c87ae336b |
---|---|
12 | 12 |
13 | 13 |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 | 15 |
16 /* WARNING ! those 2 files will be destroyed by this test program */ | 16 /* WARNING ! those 2 files will be destroyed by this test program */ |
17 | |
18 #ifdef __IPHONEOS__ | |
19 #define FBASENAME1 "../Documents/sdldata1" /* this file will be created during tests */ | |
20 #define FBASENAME2 "../Documents/sdldata2" /* this file should not exist before starting test */ | |
21 #else | |
17 #define FBASENAME1 "sdldata1" /* this file will be created during tests */ | 22 #define FBASENAME1 "sdldata1" /* this file will be created during tests */ |
18 #define FBASENAME2 "sdldata2" /* this file should not exists before starting test */ | 23 #define FBASENAME2 "sdldata2" /* this file should not exist before starting test */ |
19 | 24 #endif |
20 | 25 |
21 #ifndef NULL | 26 #ifndef NULL |
22 #define NULL ((void *)0) | 27 #define NULL ((void *)0) |
23 #endif | 28 #endif |
24 | 29 |