X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fsystem.c;h=fb3c40685da55e10c0d832efe6d1228f3f6c99ad;hb=1ce0496dbf15d3316085f124ff1233054534d7a0;hp=1c4589c91ef9bed160ce8e3b0e569bce50b0ec30;hpb=d9dcf16664c81809258992e1653ecb68c8079974;p=pdclib.old diff --git a/platform/example/functions/stdlib/system.c b/platform/example/functions/stdlib/system.c index 1c4589c..fb3c406 100644 --- a/platform/example/functions/stdlib/system.c +++ b/platform/example/functions/stdlib/system.c @@ -33,6 +33,8 @@ int system( const char * string ) } #ifdef TEST +/* TODO: Work around the following undef */ +#undef SEEK_SET #include <_PDCLIB_test.h> #define SHELLCOMMAND "echo 'SUCCESS testing system()'"