aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2004-03-29 18:09:38 +0000
committergoodale <goodale@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2004-03-29 18:09:38 +0000
commita6466c50f3f2c389cf263fe0617d49da20133d44 (patch)
treefdd920d6c1488f9de8f0f4da5f54a3f4d8ad7f40
parent339f9f191e5c3cc6d79a0ffd65c818107c71c57a (diff)
Adding a Darwin stanza so that we get ANSI C prototypes for the
extern "C" routines; without this the extern "C" stanzas did not work properly. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@58 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r--src/make.code.defn7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/make.code.defn b/src/make.code.defn
index 7b9536f..cea189c 100644
--- a/src/make.code.defn
+++ b/src/make.code.defn
@@ -139,6 +139,13 @@ CXXFLAGS += -DANSI -DSOLARIS
endif
+# SunOS
+ifeq ($(UNAME), Darwin)
+
+CXXFLAGS += -DANSI
+
+endif
+
#
# Template instantion flags for SUN OS
#( silly compiler can't do implicit global template instantion!)