projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kludge to avoid unistd.h redefinition warnings.
[fw/pdclib]
/
platform
/
example
/
functions
/
stdlib
/
system.c
diff --git
a/platform/example/functions/stdlib/system.c
b/platform/example/functions/stdlib/system.c
index 1c4589c91ef9bed160ce8e3b0e569bce50b0ec30..fb3c40685da55e10c0d832efe6d1228f3f6c99ad 100644
(file)
--- 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()'"