source: Sophya/trunk/ArchTOIPipe/config.h@ 2133

Last change on this file since 2133 was 2126, checked in by aubourg, 23 years ago

pour correl, r_8

File size: 765 bytes
RevLine 
[1365]1#ifndef CONFIG_H
2#define CONFIG_H
3
4#define _GNU_SOURCE
5
[1764]6// mostly because of the archaic IRIX CC compiler
7namespace std{}
8using namespace std;
9
10
[1365]11#include "conf.h"
12
13
14#ifndef WITH_SOPHYA
15#define NO_SOPHYA
[1663]16
17#ifdef HAVE_STDINT_H
18#include <stdint.h>
19 #define int_4 int4_t
20 #define int_8 int8_t
21 #define uint_8 uint8_t
22#else
[1365]23#if SIZEOF_SHORT == 4
24 #define int_4 short int
25#elif SIZEOF_INT == 4
26 #define int_4 int
27#else
28 #define int_4 long
29#endif
[1477]30
31#if SIZEOF_LONG == 8
32 #define int_8 long
[1663]33 #define uint_8 unsigned long
34#elif SIZEOF_LONG_LONG == 8
35 #define int_8 long long
36 #define uint_8 unsigned long long
[1477]37#else
[1663]38 #error no 8-byte long int...
[1365]39#endif
[2126]40
41#define r_8 double
42
[1477]43#endif
[1663]44#endif
[1365]45
[1764]46#ifdef __SGICC__
47namespace std { }
48using namespace std;
[1365]49#endif
[1663]50
[1764]51#endif
52
Note: See TracBrowser for help on using the repository browser.