aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.in
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2012-03-20 19:24:32 +0000
committerKai Tietz <kai.tietz@onevision.com>2012-03-20 19:24:32 +0000
commit17d5dae239c8e8cca84afffd3672981379536491 (patch)
tree85066d21a90e83a70d4903caa8424f01984001f9 /bfd/config.in
parentbdb892b99584bfd481ed23c90ad7ceafb31ca791 (diff)
downloadgdb-17d5dae239c8e8cca84afffd3672981379536491.zip
gdb-17d5dae239c8e8cca84afffd3672981379536491.tar.gz
gdb-17d5dae239c8e8cca84afffd3672981379536491.tar.bz2
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.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in
index 98157e1..cb53b14 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