From def6a63671f32867a35ba5c200cd7ba1b3227096 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Tue, 20 Mar 2012 19:24:27 +0000 Subject: 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. --- bfd/config.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/config.in') 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 has win32_pstatus_t. */ #undef HAVE_WIN32_PSTATUS_T +/* Define to 1 if you have the header file. */ +#undef HAVE_WINDOWS_H + /* Define to 1 if you have the header file. */ #undef HAVE_ZLIB_H -- cgit v1.2.1