config.h 971 Bytes
Newer Older
1
/*
2 3
 *	This file contains all parameters dependent on the
 *	operating system and build-time configuration.
4 5 6 7 8
 */

#ifndef _BIRD_CONFIG_H_
#define _BIRD_CONFIG_H_

9 10 11
#define XSTR2(X) #X
#define XSTR1(X) XSTR2(X)

12
/* BIRD version */
13 14 15
#ifdef GIT_LABEL
#define BIRD_VERSION XSTR1(GIT_LABEL)
#else
16
#define BIRD_VERSION "2.0.2"
17
#endif
18

19 20
/* Include parameters determined by configure script */
#include "sysdep/autoconf.h"
21

22 23
/* Include OS configuration file as chosen in autoconf.h */
#include SYSCONF_INCLUDE
24

25 26
#ifndef MACROS_ONLY

27 28 29 30
/*
 *  Of course we could add the paths to autoconf.h, but autoconf
 *  is stupid and puts make-specific substitutious to the paths.
 */
31 32
#include "sysdep/paths.h"

33
/* Types */
34

35 36 37 38 39 40 41 42 43 44 45
#include <stdint.h>
typedef int8_t s8;
typedef uint8_t u8;
typedef int16_t s16;
typedef uint16_t u16;
typedef int32_t s32;
typedef uint32_t u32;
typedef int64_t s64;
typedef uint64_t u64;
typedef uint8_t byte;
typedef uint16_t word;
46
typedef unsigned int uint;
47

48 49
#endif

50
#endif