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 075ff3c732fb9bf4893b346e578d02a18a5dcf5d..83c76ccce12dc4e0fe850ded1465a1b833cb9d0a 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 365164e27ce3562afd241827939c2b9be977d40c..46644b284fe3d50078401891d3a1085fabe27f7c 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
 
This page took 0.027987 seconds and 4 git commands to generate.