summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mutrace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mutrace.c b/mutrace.c
index 279ca0f..0ed4e17 100644
--- a/mutrace.c
+++ b/mutrace.c
@@ -38,6 +38,10 @@
#include <sched.h>
#include <malloc.h>
+#if !defined (__linux__) || !defined(__GLIBC__)
+#error "This stuff only works on Linux!"
+#endif
+
/* FIXMES:
*
* - we probably should cover rwlocks, too