]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
AQuoSA: Avoid redefinition of preprocessor symbols if they were defined earlier
authorsojkam <sojkam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 10 Feb 2009 15:08:58 +0000 (15:08 +0000)
committersojkam <sojkam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 10 Feb 2009 15:08:58 +0000 (15:08 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@1543 35b4ef3e-fd22-0410-ab77-dab3279adceb

include/fosa_opaque_types.h

index 085867121f2ccf9236c45a1e08d0e4e1ccb32c61..6a8be30d55072a3bf8c1dab30866e8537d737148 100644 (file)
@@ -259,8 +259,12 @@ typedef int FOSA_THREAD_SET_ID_T_OPAQUE
 #include <unistd.h>
 #include <linux/unistd.h>
 
+#ifndef _XOPEN_SOURCE
 #define _XOPEN_SOURCE 500
+#endif
+#ifndef __USE_UNIX98
 #define __USE_UNIX98
+#endif
 #include <pthread.h>
 
 #include <signal.h>