]> gcc.gnu.org Git - gcc.git/commitdiff
Cleanups vis-a-vis system.h cutover and g77-0.5.24:
authorCraig Burley <burley@gnu.org>
Wed, 15 Jul 1998 07:07:55 +0000 (03:07 -0400)
committerDave Love <fx@gcc.gnu.org>
Wed, 15 Jul 1998 07:07:55 +0000 (07:07 +0000)
Mon Jul 13 17:33:44 1998  Craig Burley  <burley@gnu.org>
Cleanups vis-a-vis system.h cutover and g77-0.5.24:
* Makefile.in (fini.o): Define USE_HCONFIG macro
so source code doesn't have to.
* fini.c: Don't define USE_HCONFIG here, since
source code usually shouldn't care about this.
* ansify.c: Include stddef.h only if we have it.
* intdoc.c: Ditto.
* proj.h: Ditto.

From-SVN: r21176

gcc/f/ChangeLog
gcc/f/Makefile.in
gcc/f/ansify.c
gcc/f/fini.c
gcc/f/intdoc.c
gcc/f/proj.h

index 662235ebd829f84203f9db92024ffbcb2fdb0d23..5495bb96da82488d679e3f6d40e5b08661e72e61 100644 (file)
@@ -1,3 +1,14 @@
+Mon Jul 13 17:33:44 1998  Craig Burley  <burley@gnu.org>
+
+       Cleanups vis-a-vis system.h cutover and g77-0.5.24:
+       * Makefile.in (fini.o): Define USE_HCONFIG macro
+       so source code doesn't have to.
+       * fini.c: Don't define USE_HCONFIG here, since
+       source code usually shouldn't care about this.
+       * ansify.c: Include stddef.h only if we have it.
+       * intdoc.c: Ditto.
+       * proj.h: Ditto.
+
 Mon Jul 13 17:30:29 1998  Nick Clifton  <nickc@cygnus.com>
 
        * lang-options.h: Format changed to work with --help support added
index fff69b335c0b2d7af7909a597f5f220143a67d90..4f9733bd4eba645a46b30ba1e9aa785fc2f45b78 100644 (file)
@@ -461,7 +461,7 @@ fini: fini.o proj-h.o
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o fini fini.o proj-h.o
 
 fini.o:
-       $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
+       $(HOST_CC) -c -DUSE_HCONFIG $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
              `echo $(srcdir)/fini.c | sed 's,^\./,,'` -o $@
 
 proj-h.o: proj.o
index b1838c1caac1b4a00ce145ecbb7fb73804faf04a..3af68e55483d6464ad406adf6279bda2d2540ea5 100644 (file)
@@ -25,7 +25,9 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "hconfig.j"
 #include "system.j"
 #include "assert.j"
+#if HAVE_STDDEF_H
 #include <stddef.h>
+#endif
 
 typedef enum
   {
index 44c749f38610b5de000eec6585962b94d9070861..439eccad90b80db0a03bea55a00492f5178efd1b 100644 (file)
@@ -19,7 +19,6 @@ along with GNU Fortran; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.  */
 
-#define USE_HCONFIG
 #include "proj.h"
 #include "malloc.h"
 
index 648b75afb74e74fe153077546965092057427190..0ac39ff43ce85e72251d74228e6ba1b4fb863a3f 100644 (file)
@@ -25,7 +25,9 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "hconfig.j"
 #include "system.j"
 #include "assert.j"
+#if HAVE_STDDEF_H
 #include <stddef.h>
+#endif
 
 typedef enum
   {
index e592d8bbb3beda5d55b5dd66bbc9cd58c760fb86..93b12b330c89205292c1b48cd6a39afdbfbb0e28 100644 (file)
@@ -46,10 +46,15 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 /* Include files everyone gets.  <assert.h> is needed for assert().
    <stddef.h> is needed for offsetof, but technically also NULL,
    size_t, ptrdiff_t, and so on.  */
+
 #include "assert.j"
+
+#if HAVE_STDDEF_H
 #include <stddef.h>
+#endif
 
 /* Generally useful definitions. */
+
 typedef enum
   {
 #if !defined(false) || !defined(true)
This page took 0.077819 seconds and 5 git commands to generate.