diff options
Diffstat (limited to 'c/src/exec/score')
-rw-r--r-- | c/src/exec/score/cpu/unix/cpu.c | 1 | ||||
-rw-r--r-- | c/src/exec/score/cpu/unix/cpu.h | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/unix/cpu.c b/c/src/exec/score/cpu/unix/cpu.c index 524067703d..0e51ce3dae 100644 --- a/c/src/exec/score/cpu/unix/cpu.c +++ b/c/src/exec/score/cpu/unix/cpu.c @@ -21,7 +21,6 @@ #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <signal.h> #include <time.h> #include <sys/time.h> diff --git a/c/src/exec/score/cpu/unix/cpu.h b/c/src/exec/score/cpu/unix/cpu.h index b3e2c927e7..f67a64cb6b 100644 --- a/c/src/exec/score/cpu/unix/cpu.h +++ b/c/src/exec/score/cpu/unix/cpu.h @@ -58,6 +58,19 @@ extern "C" { #endif +#if 0 +static inline X() +{ +#ifdef _POSIX_C_SOURCE + printf( "_POSIX_C_SOURCE", _POSIX_C_SOURCE ); +#endif +#ifdef __STRICT_ANSI__ + printf( "__STRICT_ANSI__", __STRICT_ANSI__ ); +#endif +} +#endif + +#include <unistd.h> #include <setjmp.h> #include <signal.h> |