summaryrefslogtreecommitdiffstats
path: root/sysdep/config.h
blob: 90ab8bbc733746d1c26dbf3fee13674f8ff84298 (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
60
61
62
63
/*
 *	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 DEBUGGING

/* 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

/* Paths */

#define PATH_CONFIG "bird.conf"

#endif