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

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

pour correl, r_8

File size: 765 bytes
Line 
1#ifndef CONFIG_H
2#define CONFIG_H
3
4#define _GNU_SOURCE
5
6// mostly because of the archaic IRIX CC compiler
7namespace std{}
8using namespace std;
9
10
11#include "conf.h"
12
13
14#ifndef WITH_SOPHYA
15#define NO_SOPHYA
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
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
30
31#if SIZEOF_LONG == 8
32 #define int_8 long
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
37#else
38 #error no 8-byte long int...
39#endif
40
41#define r_8 double
42
43#endif
44#endif
45
46#ifdef __SGICC__
47namespace std { }
48using namespace std;
49#endif
50
51#endif
52
Note: See TracBrowser for help on using the repository browser.