source:
Sophya/trunk/ArchTOIPipe/config.h@
1826
| Last change on this file since 1826 was 1764, checked in by , 24 years ago | |
|---|---|
| File size: 744 bytes | |
| Rev | Line | |
|---|---|---|
| [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 |
| 7 | namespace std{} | |
| 8 | using 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 |
| [1477] | 40 | #endif |
| [1663] | 41 | #endif |
| [1365] | 42 | |
| [1764] | 43 | #ifdef __SGICC__ |
| 44 | namespace std { } | |
| 45 | using namespace std; | |
| [1365] | 46 | #endif |
| [1663] | 47 | |
| [1764] | 48 | #endif |
| 49 |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)