projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Removed a big performance hit: The MARKS for visiting a node were
[libfirm]
/
ir
/
common
/
timing.c
diff --git
a/ir/common/timing.c
b/ir/common/timing.c
index
f5730e1
..
09cf85a
100644
(file)
--- a/
ir/common/timing.c
+++ b/
ir/common/timing.c
@@
-227,7
+227,7
@@
static INLINE ir_timer_val_t *_time_sub(ir_timer_val_t *res, const ir_timer_val_
#endif /* _WIN32 */
-#if
def _POSIX_PRIORITY_SCHEDULING
+#if
defined(_XOPEN_REALTIME) && _XOPEN_REALTIME != -1
#include <sys/types.h>
#include <sched.h>
@@
-309,7
+309,7
@@
int ir_timer_leave_high_priority(void)
return 0;
}
-#endif
/* _POSIX_PRIORITY_SCHEDULING */
+#endif
#ifdef __linux__