2010-02-12 Sriraman Tallam <tmsriram@google.com>
[deliverable/binutils-gdb.git] / include / plugin-api.h
index 530f3f448737f3aa1dec68e542da6ad5e8a02184..572621fc374a3605cfc2591d570360f72295fb6d 100644 (file)
 #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"
@@ -218,7 +226,7 @@ enum ld_plugin_status
 
 typedef
 enum ld_plugin_status
-(*ld_plugin_add_input_library) (char *pathname);
+(*ld_plugin_add_input_library) (char *libname);
 
 /* The linker's interface for issuing a warning or error message.  */
 
This page took 0.076813 seconds and 4 git commands to generate.