diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2012-03-20 19:24:27 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2012-03-20 19:24:27 +0000 |
commit | def6a63671f32867a35ba5c200cd7ba1b3227096 (patch) | |
tree | ae59ae7d3c8c41bb1d043c776880568c4a63920a /bfd/config.in | |
parent | 81eb727e537b076d28fadee710bed6bf49bdc2da (diff) | |
download | binutils-redhat-def6a63671f32867a35ba5c200cd7ba1b3227096.tar.gz |
PR ld/12742
* configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h.
* plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined.
Add windows.h header include if HAVE_WINDOWS_H is defined.
(dlerror): New static function if windows variant is used instead
of dlfcn.h.
(dlclose): Likewise.
(dlopen): Likewise.
(dlsym): Likewise.
* configure: Regenerated.
* config.in: Regenerated.
Diffstat (limited to 'bfd/config.in')
-rw-r--r-- | bfd/config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in index 98157e13e0..cb53b14741 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -245,6 +245,9 @@ /* Define if <sys/procfs.h> has win32_pstatus_t. */ #undef HAVE_WIN32_PSTATUS_T +/* Define to 1 if you have the <windows.h> header file. */ +#undef HAVE_WINDOWS_H + /* Define to 1 if you have the <zlib.h> header file. */ #undef HAVE_ZLIB_H |