bird/sysdep/config.h

51 lines
971 B
C
Raw Normal View History

/*
* This file contains all parameters dependent on the
* operating system and build-time configuration.
*/
#ifndef _BIRD_CONFIG_H_
#define _BIRD_CONFIG_H_
#define XSTR2(X) #X
#define XSTR1(X) XSTR2(X)
1999-10-31 23:43:44 +08:00
/* BIRD version */
#ifdef GIT_LABEL
#define BIRD_VERSION XSTR1(GIT_LABEL)
#else
2018-01-15 04:52:58 +08:00
#define BIRD_VERSION "2.0.1"
#endif
1999-10-31 23:43:44 +08:00
/* Include parameters determined by configure script */
#include "sysdep/autoconf.h"
/* Include OS configuration file as chosen in autoconf.h */
#include SYSCONF_INCLUDE
#ifndef MACROS_ONLY
2000-05-08 22:24:19 +08:00
/*
* Of course we could add the paths to autoconf.h, but autoconf
* is stupid and puts make-specific substitutious to the paths.
*/
#include "sysdep/paths.h"
/* Types */
#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;
typedef unsigned int uint;
#endif
#endif