0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-14 15:18:44 +00:00
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 15:43:44 +00:00
/* BIRD version */
#ifdef GIT_LABEL
#define BIRD_VERSION XSTR1(GIT_LABEL)
#else
2018-03-21 14:17:56 +00:00
#define BIRD_VERSION "2.0.2"
#endif
1999-10-31 15:43:44 +00: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 14:24:19 +00: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