diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-16 23:04:22 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-16 23:04:22 +0200 |
commit | 03bfa07732db97dfaa61b103e2cb30c08805d425 (patch) | |
tree | 7fc62242644196e4871564d02d33b582cb29cc7a /src/include | |
parent | 52ed41d588082f2097473b1440fcc314a79dc4c4 (diff) | |
download | sync-03bfa07732db97dfaa61b103e2cb30c08805d425.tar.gz sync-03bfa07732db97dfaa61b103e2cb30c08805d425.tar.bz2 sync-03bfa07732db97dfaa61b103e2cb30c08805d425.zip |
fix sync-httpd return values
Diffstat (limited to 'src/include')
-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 b17c64f..2fbbe24 100644 --- a/src/include/platform.h +++ b/src/include/platform.h @@ -51,6 +51,33 @@ /* Do not use deprecated functions from gcrypt */ #define GCRYPT_NO_DEPRECATED 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 + + /* Ignore MHD deprecations for now as we want to be compatible to "ancient" MHD releases. */ #define MHD_NO_DEPRECATION 1 |