test/testfile.c
branchgsoc2008_iphone
changeset 2432 daf3baf72a45
parent 2099 891ed60fcaa9
equal deleted inserted replaced
2431:7e449145b6ca 2432:daf3baf72a45
    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 #define FBASENAME1	"sdldata1"      /* this file will be created during tests */
    17 
    18 #define FBASENAME2	"sdldata2"      /* this file should not exists before starting test */
    18 #ifdef __IPHONEOS__
    19 
    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
       
    22 	#define FBASENAME1	"sdldata1"      /* this file will be created during tests */
       
    23 	#define FBASENAME2	"sdldata2"      /* this file should not exist before starting test */
       
    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