+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
$(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
#include "hconfig.j"
#include "system.j"
#include "assert.j"
+#if HAVE_STDDEF_H
#include <stddef.h>
+#endif
typedef enum
{
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
-#define USE_HCONFIG
#include "proj.h"
#include "malloc.h"
#include "hconfig.j"
#include "system.j"
#include "assert.j"
+#if HAVE_STDDEF_H
#include <stddef.h>
+#endif
typedef enum
{
/* 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)