#ifndef CONFIG_H #define CONFIG_H #define _GNU_SOURCE // mostly because of the archaic IRIX CC compiler namespace std{} using namespace std; #include "conf.h" #ifndef WITH_SOPHYA #define NO_SOPHYA #ifdef HAVE_STDINT_H #include #define int_4 int4_t #define int_8 int8_t #define uint_8 uint8_t #else #if SIZEOF_SHORT == 4 #define int_4 short int #elif SIZEOF_INT == 4 #define int_4 int #else #define int_4 long #endif #if SIZEOF_LONG == 8 #define int_8 long #define uint_8 unsigned long #elif SIZEOF_LONG_LONG == 8 #define int_8 long long #define uint_8 unsigned long long #else #error no 8-byte long int... #endif #define r_8 double #endif #endif #ifdef __SGICC__ namespace std { } using namespace std; #endif #endif