diff options
author | espindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-19 15:11:35 +0000 |
---|---|---|
committer | espindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-19 15:11:35 +0000 |
commit | 5049f61af1336ad473db716fc2f998e0d95e449d (patch) | |
tree | 60330d895ace37454866261b664568c0eee97403 /include | |
parent | 0bf158c8c3271e11e789e8b37c1debe25cf926ff (diff) | |
download | gcc-5049f61af1336ad473db716fc2f998e0d95e449d.tar.gz |
include/
2009-10-09 Rafael Avila de Espindola <espindola@google.com>
PR40790
* plugin-api.h: Don't include stdint.h unconditionally.
lto-plugin/
2009-10-09 Rafael Avila de Espindola <espindola@google.com>
PR40790
* configure: Regenerate.
* configure.ac: Add AC_TYPE_UINT64_T.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/plugin-api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h index a026e7a004b..572621fc374 100644 --- a/include/plugin-api.h +++ b/include/plugin-api.h @@ -26,8 +26,16 @@ #ifndef PLUGIN_API_H #define PLUGIN_API_H +#ifdef HAVE_STDINT_H #include <stdint.h> +#elif defined(HAVE_INTTYPES_H) +#include <inttypes.h> +#endif #include <sys/types.h> +#if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H) && \ + !defined(UINT64_MAX) && !defined(uint64_t) +#error can not find uint64_t type +#endif #ifdef __cplusplus extern "C" |