From c24acced321276809aa35b271c424e87cf2910c4 Mon Sep 17 00:00:00 2001 From: goodale Date: Fri, 10 Sep 2004 04:00:42 +0000 Subject: 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 --- src/Arch.h | 5 +++++ src/make.code.defn | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3