2008-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 5 Aug 2008 21:10:30 +0000 (21:10 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 5 Aug 2008 21:10:30 +0000 (21:10 +0000)
PR build/2490
* solib-pa64.c: Only compile if both HAVE_ELF_HP_H and __LP64__ are
defined.

gdb/ChangeLog
gdb/solib-pa64.c

index aa5be9d918ae46b006b559aeba31ea08b29a5e7f..87eac7e8f41296bd3eae76e70b4335508441f5ff 100644 (file)
@@ -1,3 +1,9 @@
+2008-08-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR build/2490
+       * solib-pa64.c: Only compile if both HAVE_ELF_HP_H and __LP64__ are
+       defined.
+
 2008-08-05  Tom Tromey  <tromey@redhat.com>
 
        * bcache.c (deprecated_bcache_added): Initialize obstack.
index 321441d01793167bf49b0e9c3bffd1561dda0de8..d5b718a2358e92a0d343d5b847508de78e52a6c4 100644 (file)
@@ -46,7 +46,7 @@
 
 /* We can build this file only when running natively on 64-bit HP/UX.
    We check for that by checking for the elf_hp.h header file.  */
-#ifdef HAVE_ELF_HP_H
+#if defined(HAVE_ELF_HP_H) && defined(__LP64__)
 
 /* FIXME: kettenis/20041213: These includes should be eliminated.  */
 #include <dlfcn.h>