aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2001-12-20 16:59:16 +0000
committertradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2001-12-20 16:59:16 +0000
commita17e3534c7ca704bf66823890da750a9cf5f950e (patch)
treeca56fe4f0aca674c31cbb4de3aff6592278f44ee
parent06509e24efd4810e106c0c390b3bc664fa0efb34 (diff)
Support for the Fujitsu compiler.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@26 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r--src/IEEEIO.hh4
-rw-r--r--src/make.code.defn7
2 files changed, 9 insertions, 2 deletions
diff --git a/src/IEEEIO.hh b/src/IEEEIO.hh
index b06f1c1..7d2661f 100644
--- a/src/IEEEIO.hh
+++ b/src/IEEEIO.hh
@@ -17,7 +17,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
-#if defined(WIN32) || defined(SOLARIS)
+#if defined(WIN32) || defined(SOLARIS) || defined(FUJITSU)
// I'm a WIN32 box and I ignore standards
// or I'm a Sun box and I hate BSD.
#define bcopy(src,dest,len) memcpy(dest,src,len)
@@ -30,7 +30,7 @@
#endif
// Win32/Solaris lseek crap...
-#if defined(WIN32) || defined(SOLARIS) || defined (HITACHI) || defined(sun)
+#if defined(WIN32) || defined(SOLARIS) || defined (HITACHI) || defined(sun) || defined(FUJITSU)
#define L_INCR SEEK_CUR
#ifndef L_SET // for that wanky Solaris compiler
#define L_SET SEEK_SET
diff --git a/src/make.code.defn b/src/make.code.defn
index 7d54246..fd13a65 100644
--- a/src/make.code.defn
+++ b/src/make.code.defn
@@ -114,6 +114,13 @@ CXXFLAGS += -DANSI
endif
+# Fujitsu VPP700
+ifeq ($(UNAME), UNIX_System_V)
+
+CXXFLAGS += -DANSI -DFUJITSU
+
+endif
+
# HITACHI
ifeq ($(UNAME), HI-UX/MPP)