1
2
3
4
5
6
7
8
9 #ifndef PCMK__PORTABILITY__H
10 # define PCMK__PORTABILITY__H
11
12
13
14
15
16
17
18
19 # undef _GNU_SOURCE
20 # define _GNU_SOURCE
21
22
23 # ifdef HAVE_CONFIG_H
24 # ifndef PCMK__CONFIG_H
25 # define PCMK__CONFIG_H
26 # include <config.h>
27 # endif
28 # endif
29
30
31
32 # include <errno.h>
33
34 # ifndef ENOTUNIQ
35 # define PCMK__ENOTUNIQ
36 # define ENOTUNIQ 190
37 # endif
38
39 # ifndef ECOMM
40 # define PCMK__ECOMM
41 # define ECOMM 191
42 # endif
43
44 # ifndef ELIBACC
45 # define PCMK__ELIBACC
46 # define ELIBACC 192
47 # endif
48
49 # ifndef EREMOTEIO
50 # define PCMK__EREMOTIO
51 # define EREMOTEIO 193
52 # endif
53
54 # ifndef ENOKEY
55 # define PCMK__ENOKEY
56 # define ENOKEY 195
57 # endif
58
59 # ifndef ENODATA
60 # define PCMK__ENODATA
61 # define ENODATA 196
62 # endif
63
64 # ifndef ETIME
65 # define PCMK__ETIME
66 # define ETIME 197
67 # endif
68
69 # ifndef EKEYREJECTED
70 # define PCMK__EKEYREJECTED
71 # define EKEYREJECTED 200
72 # endif
73
74 #endif