aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2004-09-10 04:00:42 +0000
committergoodale <goodale@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2004-09-10 04:00:42 +0000
commitc24acced321276809aa35b271c424e87cf2910c4 (patch)
treeef208dd48734dc56d35eeb87a361d808e6aead4d
parentc63da86a4fc3d81d97d0beb23a2ebda0af4bd4c6 (diff)
Quick fix for NEC SX-5. The inttypes.h header is non-standard,
now we have the individual thorn configure scripts we should add detection of types. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@71 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r--src/Arch.h5
-rw-r--r--src/make.code.defn2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/Arch.h b/src/Arch.h
index c3ad325..36501d1 100644
--- a/src/Arch.h
+++ b/src/Arch.h
@@ -28,6 +28,7 @@
#endif
+#ifndef SX5
#ifndef SGI
#ifdef WIN32
typedef __int64 Long8;
@@ -41,6 +42,10 @@ typedef int64_t Long8;
typedef long long Long8;
#endif
+#else /* Quick hack for SX5 */
+typedef long long Long8;
+#endif
+
#ifdef T3E
#ifndef FFIO
#define FFIO /* forces it to use FFIO if on a T3E */
diff --git a/src/make.code.defn b/src/make.code.defn
index b80a378..dc4086f 100644
--- a/src/make.code.defn
+++ b/src/make.code.defn
@@ -160,7 +160,7 @@ endif
ifeq ($(UNAME), SUPER-UX)
-CXXFLAGS += -DANSI -T all
+CXXFLAGS += -DANSI -T all -DSX5
endif