test/testfile.c
changeset 2765 f55c87ae336b
parent 2099 891ed60fcaa9
child 4884 27ab20a36eba
     1.1 --- a/test/testfile.c	Wed Sep 17 08:24:51 2008 +0000
     1.2 +++ b/test/testfile.c	Sat Oct 04 06:46:59 2008 +0000
     1.3 @@ -14,9 +14,14 @@
     1.4  #include <stdio.h>
     1.5  
     1.6  /* WARNING ! those 2 files will be destroyed by this test program */
     1.7 +
     1.8 +#ifdef __IPHONEOS__
     1.9 +#define FBASENAME1	"../Documents/sdldata1" /* this file will be created during tests */
    1.10 +#define FBASENAME2  "../Documents/sdldata2"     /* this file should not exist before starting test */
    1.11 +#else
    1.12  #define FBASENAME1	"sdldata1"      /* this file will be created during tests */
    1.13 -#define FBASENAME2	"sdldata2"      /* this file should not exists before starting test */
    1.14 -
    1.15 +#define FBASENAME2	"sdldata2"      /* this file should not exist before starting test */
    1.16 +#endif
    1.17  
    1.18  #ifndef NULL
    1.19  #define NULL ((void *)0)