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