X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Frename.c;h=f1fc38245814facd9d210eb2cfe0149d818cdf27;hb=3044c7be997666943201e01b1a429833e826694f;hp=23f56d81fb8e2e8dfbc94e2dc9959d3fbba1288f;hpb=b1fc26afebd4d557ff89a44bc21767a8704c3809;p=pdclib diff --git a/platform/example/functions/_PDCLIB/rename.c b/platform/example/functions/_PDCLIB/rename.c index 23f56d8..f1fc382 100644 --- a/platform/example/functions/_PDCLIB/rename.c +++ b/platform/example/functions/_PDCLIB/rename.c @@ -7,7 +7,8 @@ #include #ifndef REGTEST -#include <_PDCLIB_glue.h> + +#include "_PDCLIB_glue.h" #include @@ -90,12 +91,13 @@ int _PDCLIB_rename( const char * old, const char * new ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" #include int main( void ) { +#ifndef REGTEST FILE * file; remove( testfile1 ); remove( testfile2 ); @@ -131,6 +133,7 @@ int main( void ) /* remove both files */ remove( testfile1 ); remove( testfile2 ); +#endif return TEST_RESULTS; }