diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-29 23:56:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-29 23:56:46 +0200 |
commit | 0ef7c0a0b716785e7d1b0233e622d2e7267a0280 (patch) | |
tree | ff4b46d1182acd71fa5c6e29b9aaa786dbcf2b22 /src/include/platform.h | |
parent | 1b419adab48fc0fd915835e0d57c5923e515280c (diff) | |
download | exchange-0ef7c0a0b716785e7d1b0233e622d2e7267a0280.tar.xz |
fix #6960
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index ba3a4d2c9..109c3a753 100644 --- a/src/include/platform.h +++ b/src/include/platform.h @@ -66,6 +66,33 @@ is needed for performance reasons. */ #define ENABLE_SANITY_CHECKS 1 + +/* LSB-style exit status codes */ +#ifndef EXIT_INVALIDARGUMENT +#define EXIT_INVALIDARGUMENT 2 +#endif + +#ifndef EXIT_NOTIMPLEMENTED +#define EXIT_NOTIMPLEMENTED 3 +#endif + +#ifndef EXIT_NOPERMISSION +#define EXIT_NOPERMISSION 4 +#endif + +#ifndef EXIT_NOTINSTALLED +#define EXIT_NOTINSTALLED 5 +#endif + +#ifndef EXIT_NOTCONFIGURED +#define EXIT_NOTCONFIGURED 6 +#endif + +#ifndef EXIT_NOTRUNNING +#define EXIT_NOTRUNNING 7 +#endif + + #endif /* PLATFORM_H_ */ /* end of platform.h */ |