Kludge to avoid unistd.h redefinition warnings.
authorsolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Tue, 9 May 2006 05:01:50 +0000 (05:01 +0000)
committersolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Tue, 9 May 2006 05:01:50 +0000 (05:01 +0000)
git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@191 546481bc-9713-0410-bf18-d3337bbf4a3e

platform/example/functions/_PDCLIB/_Exit.c
platform/example/functions/_PDCLIB/remove.c
platform/example/functions/_PDCLIB/rename.c
platform/example/functions/stdlib/system.c

index 14bc18321efff3ee4d5caf868663f37687c90ba5..e90dfc6ee7bce4e9272cddaffc5bc6479eddb1e1 100644 (file)
@@ -24,6 +24,8 @@ void _PDCLIB_Exit( int status )
 #endif
 
 #ifdef TEST
+/* TODO: Work around the following undef */
+#undef SEEK_SET
 #include <_PDCLIB_test.h>
 
 int main( void )
index 33963062670202324394ee79637988653a96dc27..970db6add911607e9a430d3d5a87cc1a5c31807d 100644 (file)
@@ -33,6 +33,8 @@ int _PDCLIB_remove( const char * filename )
 #endif
 
 #ifdef TEST
+/* TODO: Work around the following undef */
+#undef SEEK_SET
 #include <_PDCLIB_test.h>
 
 int main( void )
index 90b2290fd60126fff8bbad4dff77f656c9c5e4ce..6b7ecf19d4a2e8ef91c0d0c2ad65b9a7215cdb1f 100644 (file)
@@ -30,6 +30,8 @@ int _PDCLIB_rename( const char * old, const char * new )
 #endif
 
 #ifdef TEST
+/* TODO: Work around the following undef */
+#undef SEEK_SET
 #include <_PDCLIB_test.h>
 
 int main( void )
index 1c4589c91ef9bed160ce8e3b0e569bce50b0ec30..fb3c40685da55e10c0d832efe6d1228f3f6c99ad 100644 (file)
@@ -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()'"