X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fsystem.c;fp=platform%2Fexample%2Ffunctions%2Fstdlib%2Fsystem.c;h=fb3c40685da55e10c0d832efe6d1228f3f6c99ad;hb=05c4ae55c5ed3a2a4e877a723e58e7ffc92110d4;hp=1c4589c91ef9bed160ce8e3b0e569bce50b0ec30;hpb=fe6a06a63364475c1a8cb2152b8e4074209271e2;p=pdclib 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()'"