projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a parameter to limit the maximum size of methods when inlining, otherwise some...
[libfirm]
/
ir
/
stat
/
stat_timing.c
diff --git
a/ir/stat/stat_timing.c
b/ir/stat/stat_timing.c
index
8120392
..
3c28f50
100644
(file)
--- a/
ir/stat/stat_timing.c
+++ b/
ir/stat/stat_timing.c
@@
-3,7
+3,7
@@
#include "stat_timing.h"
/* we can only use the scheduling stuff, if that macro is defined in unistd.h */
#include "stat_timing.h"
/* we can only use the scheduling stuff, if that macro is defined in unistd.h */
-#if
def _POSIX_PRIORITY_SCHEDULING
+#if
defined(_XOPEN_REALTIME) && _XOPEN_REALTIME != -1
timing_sched_env_t *timing_sched_get(timing_sched_env_t *env)
{
timing_sched_env_t *timing_sched_get(timing_sched_env_t *env)
{
@@
-55,7
+55,7
@@
timing_sched_env_t *timing_sched_prepare_max_prio(timing_sched_env_t *env)
return env;
}
return env;
}
-#else
/* _POSIX_PRIORITY_SCHEDULING */
+#else
timing_sched_env_t *timing_sched_get(timing_sched_env_t *env)
{
timing_sched_env_t *timing_sched_get(timing_sched_env_t *env)
{