test/testfile.c
changeset 2765 f55c87ae336b
parent 2099 891ed60fcaa9
child 4884 27ab20a36eba
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