aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1997-02-11 18:56:35 +0000
committerMichael Meissner <gnu@the-meissners.org>1997-02-11 18:56:35 +0000
commitf9114af581291362a099dacdad35499bbe0aa400 (patch)
tree2d0d570e4ca025f73f1938bdb1a212b5044e7b66
parentc45adab0b9297709efac3886722e2b446bd3a7f9 (diff)
downloadgdb-f9114af581291362a099dacdad35499bbe0aa400.zip
gdb-f9114af581291362a099dacdad35499bbe0aa400.tar.gz
gdb-f9114af581291362a099dacdad35499bbe0aa400.tar.bz2
Fix warnings when compiling callback.c
-rw-r--r--sim/ppc/ChangeLog5
-rw-r--r--sim/ppc/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 075ff3c..83c76cc 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 11 13:49:10 1997 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * Makefile.in (callback.o): Define HAVE_CONFIG_H, so callback.c
+ includes our config.h.
+
Tue Feb 4 13:42:59 1997 Doug Evans <dje@canuck.cygnus.com>
* configure.in: Fix typo in test for callback.c.
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 365164e..46644b2 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -403,8 +403,8 @@ targ-map.c: Makefile gentmap $(srcdir)/../../move-if-change
./gentmap -c > tmp-map.c
$(srcdir)/../../move-if-change tmp-map.c targ-map.c
-callback.o: ../common/callback.c targ-vals.h
- $(CC) -c $(STD_CFLAGS) $<
+callback.o: ../common/callback.c targ-vals.h config.h
+ $(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $<
targ-map.o: targ-map.c targ-vals.h