summaryrefslogtreecommitdiff
path: root/sysdep/config.h
blob: 65a0110392c6e0bbd95a7c372c432ed4294f9537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
 *	This is a manually generated BIRD configuration file.
 *	It will be replaced by something better when we come
 *	with an automated configuration mechanism. [mj]
 */

#ifndef _BIRD_CONFIG_H_
#define _BIRD_CONFIG_H_

/* System-dependent configuration */

#include "sysdep/cf/linux-20.h"

/* Include debugging code */

#define DEBUG

/* Types */

typedef signed char s8;
typedef unsigned char u8;
typedef short int s16;
typedef unsigned short int u16;
typedef int s32;
typedef unsigned int u32;

typedef u8 byte;
typedef u16 word;

/* Endianity */

#define CPU_LITTLE_ENDIAN

/* Required alignment for multi-byte accesses */

#define CPU_NEEDS_ALIGN_WORD 1
#define CPU_NEEDS_ALIGN_LONG 1

/* Usual alignment for structures */

#define CPU_STRUCT_ALIGN 4

/* Timers */

#undef TIME_T_IS_64BIT
#define TIME_T_IS_SIGNED

/* Protocol options */

#define CONFIG_STATIC
#define CONFIG_RIP
#define CONFIG_BGP
#define CONFIG_OSPF

/* Autodetected system features */

#define HAVE_SYSLOG

#endif