summaryrefslogtreecommitdiff
path: root/src/util/Table.c
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-11-27 23:34:02 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-11-27 23:34:02 +0000
commit02e2e8caccabb7d15c68e9e4e84c8898da8d2a68 (patch)
tree5329a7d30bafe6e3c2db4ad2f15563bb71398728 /src/util/Table.c
parent9cba2999e555e6f30c890d9cca00ac7a69d2106d (diff)
Undefine CCODE before it is redefined. Fixes a gcc warning.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2469 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util/Table.c')
-rw-r--r--src/util/Table.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/Table.c b/src/util/Table.c
index ed817d51..a11ae50d 100644
--- a/src/util/Table.c
+++ b/src/util/Table.c
@@ -88,7 +88,10 @@
/* FIXME: C99 defines <stdbool.h>, we should include that or a fake version */
typedef enum { false = 0, true = 1 } bool;
+#ifndef CCODE
#define CCODE /* signal Cactus header files that we're C, not Fortran */
+#endif
+
#include "cctk_Types.h"
#include "cctk_Constants.h"
#include "cctk_Groups.h"