mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 20:28:43 +00:00
51 lines
971 B
C
51 lines
971 B
C
/*
|
|
* 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)
|
|
|
|
/* BIRD version */
|
|
#ifdef GIT_LABEL
|
|
#define BIRD_VERSION XSTR1(GIT_LABEL)
|
|
#else
|
|
#define BIRD_VERSION "2.0.7"
|
|
#endif
|
|
|
|
/* 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
|
|
|
|
/*
|
|
* 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
|