1998-04-22 20:58:34 +08:00
|
|
|
/*
|
1999-01-09 23:02:11 +08:00
|
|
|
* This file contains all parameters dependent on the
|
|
|
|
* operating system and build-time configuration.
|
1998-04-22 20:58:34 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIRD_CONFIG_H_
|
|
|
|
#define _BIRD_CONFIG_H_
|
|
|
|
|
2017-12-14 02:18:30 +08:00
|
|
|
#define XSTR2(X) #X
|
|
|
|
#define XSTR1(X) XSTR2(X)
|
|
|
|
|
1999-10-31 23:43:44 +08:00
|
|
|
/* BIRD version */
|
2017-12-14 02:18:30 +08:00
|
|
|
#ifdef GIT_LABEL
|
|
|
|
#define BIRD_VERSION XSTR1(GIT_LABEL)
|
|
|
|
#else
|
2019-08-01 05:35:29 +08:00
|
|
|
#define BIRD_VERSION "2.0.5"
|
2017-12-14 02:18:30 +08:00
|
|
|
#endif
|
1999-10-31 23:43:44 +08:00
|
|
|
|
1999-01-09 23:02:11 +08:00
|
|
|
/* Include parameters determined by configure script */
|
|
|
|
#include "sysdep/autoconf.h"
|
1998-04-22 20:58:34 +08:00
|
|
|
|
1999-01-09 23:02:11 +08:00
|
|
|
/* Include OS configuration file as chosen in autoconf.h */
|
|
|
|
#include SYSCONF_INCLUDE
|
1998-04-22 20:58:34 +08:00
|
|
|
|
1999-03-02 04:15:14 +08:00
|
|
|
#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.
|
|
|
|
*/
|
2000-05-08 22:19:47 +08:00
|
|
|
#include "sysdep/paths.h"
|
|
|
|
|
1998-04-22 20:58:34 +08:00
|
|
|
/* Types */
|
2017-05-09 19:44:02 +08:00
|
|
|
|
2017-05-09 19:44:02 +08:00
|
|
|
#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;
|
2013-09-17 05:57:40 +08:00
|
|
|
typedef unsigned int uint;
|
1998-04-22 20:58:34 +08:00
|
|
|
|
1999-03-02 04:15:14 +08:00
|
|
|
#endif
|
|
|
|
|
1998-04-22 20:58:34 +08:00
|
|
|
#endif
|