]> git.ipfire.org Git - thirdparty/bird.git/blob - sysdep/config.h
Filter + Config: Fix bugs, tests and split symbols by type
[thirdparty/bird.git] / sysdep / config.h
1 /*
2 * This file contains all parameters dependent on the
3 * operating system and build-time configuration.
4 */
5
6 #ifndef _BIRD_CONFIG_H_
7 #define _BIRD_CONFIG_H_
8
9 #define XSTR2(X) #X
10 #define XSTR1(X) XSTR2(X)
11
12 /* BIRD version */
13 #ifdef GIT_LABEL
14 #define BIRD_VERSION XSTR1(GIT_LABEL)
15 #else
16 #define BIRD_VERSION "2.0.3"
17 #endif
18
19 /* Include parameters determined by configure script */
20 #include "sysdep/autoconf.h"
21
22 /* Include OS configuration file as chosen in autoconf.h */
23 #include SYSCONF_INCLUDE
24
25 #ifndef MACROS_ONLY
26
27 /*
28 * Of course we could add the paths to autoconf.h, but autoconf
29 * is stupid and puts make-specific substitutious to the paths.
30 */
31 #include "sysdep/paths.h"
32
33 /* Types */
34
35 #include <stdint.h>
36 typedef int8_t s8;
37 typedef uint8_t u8;
38 typedef int16_t s16;
39 typedef uint16_t u16;
40 typedef int32_t s32;
41 typedef uint32_t u32;
42 typedef int64_t s64;
43 typedef uint64_t u64;
44 typedef uint8_t byte;
45 typedef uint16_t word;
46 typedef unsigned int uint;
47
48 #endif
49
50 #endif