aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/mf-runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmudflap/mf-runtime.h')
-rw-r--r--libmudflap/mf-runtime.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmudflap/mf-runtime.h b/libmudflap/mf-runtime.h
index 68c7b54..3dd9154 100644
--- a/libmudflap/mf-runtime.h
+++ b/libmudflap/mf-runtime.h
@@ -55,9 +55,13 @@ extern unsigned char __mf_lc_shift;
/* Multithreading support. */
#ifdef _MUDFLAPTH
/* extern pthread_mutex_t __mf_biglock; */
+#ifndef _REENTRANT
#define _REENTRANT
+#endif
+#ifndef _THREAD_SAFE
#define _THREAD_SAFE
#endif
+#endif
/* Codes to describe the type of access to check: __mf_check arg 3 */