summaryrefslogtreecommitdiff
path: root/libmudflap/mf-runtime.h
diff options
context:
space:
mode:
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-21 16:35:27 +0000
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-21 16:35:27 +0000
commit47cd9fb8868a022deb280e79914ed833abe348ee (patch)
tree1207e8d24c96fe13484c89793d936f45b8d8e690 /libmudflap/mf-runtime.h
parent6f7c035731a3b7276254e248af4d468fecca80fb (diff)
downloadgcc-47cd9fb8868a022deb280e79914ed833abe348ee.tar.gz
2006-06-21 Frank Ch. Eigler <fche@redhat.com>
PR 21274 mf-runtime.h installation based on ssp patch for PR 26473 from Mark Mitchell <mark@codesourcery.com>. * configure.ac (ACX_NONCANONICAL_TARGET): Use it. * Makefile.am (target_noncanonical): Define. (libsubincludedir): New variable. (nobase_libsubinclude_HEADERS): Add mf-runtime.h. (include_HEADERS): Remove. * configure, aclocal.m4, config.h.in: Regenerated. * Makefile.in, testsuite/Makefile.in: Likewise. * mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT and _THREAD_SAFE redefinition values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114855 138bc75d-0d04-0410-961f-82ee72b054a4
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 68c7b54192f..3dd9154011e 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 */