Fix warnings when compiling callback.c
authorMichael Meissner <gnu@the-meissners.org>
Tue, 11 Feb 1997 18:56:35 +0000 (18:56 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Tue, 11 Feb 1997 18:56:35 +0000 (18:56 +0000)
sim/ppc/ChangeLog
sim/ppc/Makefile.in

index 075ff3c..83c76cc 100644 (file)
@@ -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.
index 365164e..46644b2 100644 (file)
@@ -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