aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/ansify.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/ansify.c')
-rw-r--r--gcc/f/ansify.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/gcc/f/ansify.c b/gcc/f/ansify.c
index d2eea91..1c6f92d 100644
--- a/gcc/f/ansify.c
+++ b/gcc/f/ansify.c
@@ -19,28 +19,8 @@ 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. */
-/* From f/proj.h, which uses #error -- not all C compilers
- support that, and we want *this* program to be compilable
- by pretty much any C compiler. */
-#include "hconfig.j"
-#include "system.j"
-#include "assert.j"
-#if HAVE_STDDEF_H
-#include <stddef.h>
-#endif
-
-typedef enum
- {
-#if !defined(false) || !defined(true)
- false = 0, true = 1,
-#endif
-#if !defined(FALSE) || !defined(TRUE)
- FALSE = 0, TRUE = 1,
-#endif
- Doggone_Trailing_Comma_Dont_Work = 1
- } bool;
-
-#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
+#include "hconfig.h"
+#include "system.h"
#define die_unless(c) \
do if (!(c)) \