Rev | Line | |
---|
[1365] | 1 | #ifndef CONFIG_H
|
---|
| 2 | #define CONFIG_H
|
---|
| 3 |
|
---|
| 4 | #define _GNU_SOURCE
|
---|
| 5 |
|
---|
| 6 | #include "conf.h"
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 | #ifndef WITH_SOPHYA
|
---|
| 10 | #define NO_SOPHYA
|
---|
[1663] | 11 |
|
---|
| 12 | #ifdef HAVE_STDINT_H
|
---|
| 13 | #include <stdint.h>
|
---|
| 14 | #define int_4 int4_t
|
---|
| 15 | #define int_8 int8_t
|
---|
| 16 | #define uint_8 uint8_t
|
---|
| 17 | #else
|
---|
[1365] | 18 | #if SIZEOF_SHORT == 4
|
---|
| 19 | #define int_4 short int
|
---|
| 20 | #elif SIZEOF_INT == 4
|
---|
| 21 | #define int_4 int
|
---|
| 22 | #else
|
---|
| 23 | #define int_4 long
|
---|
| 24 | #endif
|
---|
[1477] | 25 |
|
---|
| 26 | #if SIZEOF_LONG == 8
|
---|
| 27 | #define int_8 long
|
---|
[1663] | 28 | #define uint_8 unsigned long
|
---|
| 29 | #elif SIZEOF_LONG_LONG == 8
|
---|
| 30 | #define int_8 long long
|
---|
| 31 | #define uint_8 unsigned long long
|
---|
[1477] | 32 | #else
|
---|
[1663] | 33 | #error no 8-byte long int...
|
---|
[1365] | 34 | #endif
|
---|
[1477] | 35 | #endif
|
---|
[1663] | 36 | #endif
|
---|
[1365] | 37 |
|
---|
| 38 | #endif
|
---|
[1663] | 39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.