bird/sysdep/config.h
Ondrej Zajicek (work) c253ec3a9c Some more autoconf cleanups
Replace integer type width detection with C99 fixed-width types.
Also remove some unused or obsolete code.

Thanks to Ruben Kerkhof for the patchset.
2017-05-16 12:59:22 +02:00

43 lines
856 B
C

/*
* This file contains all parameters dependent on the
* operating system and build-time configuration.
*/
#ifndef _BIRD_CONFIG_H_
#define _BIRD_CONFIG_H_
/* BIRD version */
#define BIRD_VERSION "1.6.3"
/* 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