Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-10-19 22:14:24 +0400
committerDJ Delorie <dj@redhat.com>2009-10-19 22:14:24 +0400
commit9d52f5c21cfc39edba3f0b4ba841710838bb913e (patch)
tree95c6f4e2cd059771e7b0ac91dca20b282d188098 /include/plugin-api.h
parentb3f5fb37182a05a65f36256f79563e087fc4975d (diff)
merge from gcc
Diffstat (limited to 'include/plugin-api.h')
-rw-r--r--include/plugin-api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h
index a026e7a00..572621fc3 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"