From a6466c50f3f2c389cf263fe0617d49da20133d44 Mon Sep 17 00:00:00 2001 From: goodale Date: Mon, 29 Mar 2004 18:09:38 +0000 Subject: 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 --- src/make.code.defn | 7 +++++++ 1 file changed, 7 insertions(+) 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!) -- cgit v1.2.3