aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 31aa7b9..7667460 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -39,6 +39,33 @@
39#define VERBOSE(cmd) do { break; } while (0) 39#define VERBOSE(cmd) do { break; } while (0)
40#endif 40#endif
41 41
42
43/* LSB-style exit status codes */
44#ifndef EXIT_INVALIDARGUMENT
45#define EXIT_INVALIDARGUMENT 2
46#endif
47
48#ifndef EXIT_NOTIMPLEMENTED
49#define EXIT_NOTIMPLEMENTED 3
50#endif
51
52#ifndef EXIT_NOPERMISSION
53#define EXIT_NOPERMISSION 4
54#endif
55
56#ifndef EXIT_NOTINSTALLED
57#define EXIT_NOTINSTALLED 5
58#endif
59
60#ifndef EXIT_NOTCONFIGURED
61#define EXIT_NOTCONFIGURED 6
62#endif
63
64#ifndef EXIT_NOTRUNNING
65#define EXIT_NOTRUNNING 7
66#endif
67
68
42/* Include the features available for GNU source */ 69/* Include the features available for GNU source */
43#define _GNU_SOURCE 70#define _GNU_SOURCE
44 71