diff options
author | Greg McGary <greg@mcgary.org> | 2005-01-02 22:24:50 +0000 |
---|---|---|
committer | Greg McGary <gkm@gcc.gnu.org> | 2005-01-02 22:24:50 +0000 |
commit | 1330529e587cb17366dc5ae6fc510f32b19ad123 (patch) | |
tree | a1789ecd62d4476eaac6bade96f7be70f76b84ff /libmudflap/mf-impl.h | |
parent | 97236777ce70b03149dfbf501969bf72840eda9d (diff) | |
download | gcc-1330529e587cb17366dc5ae6fc510f32b19ad123.tar.gz |
mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.
* mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.
* mf-runtime.h: New file, replaces mf-runtime.h.in.
* configure.ac (AC_CONFIG_FILES): mf-runtime.h is no longer generated.
* Makefile.in: Ditto.
* testsuite/lib/libmudflap.exp: Add -I${srcdir}/.. to get mf-runtime.h
* testsuite/libmudflap.c/pass32-frag.c: s/uintptr_t/__mf_uintptr_t/
* testsuite/libmudflap.c/fail36-frag.c: New test.
* testsuite/libmudflap.c/fail37-frag.c: New test.
* testsuite/libmudflap.c/fail38-frag.c: New test.
From-SVN: r92815
Diffstat (limited to 'libmudflap/mf-impl.h')
-rw-r--r-- | libmudflap/mf-impl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libmudflap/mf-impl.h b/libmudflap/mf-impl.h index 55706c13dba..ee582ea7bce 100644 --- a/libmudflap/mf-impl.h +++ b/libmudflap/mf-impl.h @@ -1,6 +1,6 @@ /* Implementation header for mudflap runtime library. Mudflap: narrow-pointer bounds-checking by tree rewriting. - Copyright (C) 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. Contributed by Frank Ch. Eigler <fche@redhat.com> and Graydon Hoare <graydon@redhat.com> @@ -43,6 +43,11 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #error "Cannot build libmudflapth without pthread.h." #endif +#if HAVE_STDINT_H +#include <stdint.h> +#else +typedef __mf_uintptr_t uintptr_t; +#endif /* Private definitions related to mf-runtime.h */ |