diff options
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index dfa30aeee..b1de45f62 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -252,6 +252,32 @@ atoll (const char *nptr); | |||
252 | #define GNUNET_THREAD_LOCAL | 252 | #define GNUNET_THREAD_LOCAL |
253 | #endif | 253 | #endif |
254 | 254 | ||
255 | |||
256 | /* LSB-style exit status codes */ | ||
257 | #ifndef EXIT_INVALIDARGUMENT | ||
258 | #define EXIT_INVALIDARGUMENT 2 | ||
259 | #endif | ||
260 | |||
261 | #ifndef EXIT_NOTIMPLEMENTED | ||
262 | #define EXIT_NOTIMPLEMENTED 3 | ||
263 | #endif | ||
264 | |||
265 | #ifndef EXIT_NOPERMISSION | ||
266 | #define EXIT_NOPERMISSION 4 | ||
267 | #endif | ||
268 | |||
269 | #ifndef EXIT_NOTINSTALLED | ||
270 | #define EXIT_NOTINSTALLED 5 | ||
271 | #endif | ||
272 | |||
273 | #ifndef EXIT_NOTCONFIGURED | ||
274 | #define EXIT_NOTCONFIGURED 6 | ||
275 | #endif | ||
276 | |||
277 | #ifndef EXIT_NOTRUNNING | ||
278 | #define EXIT_NOTRUNNING 7 | ||
279 | #endif | ||
280 | |||
255 | /** | 281 | /** |
256 | * clang et al do not have such an attribute | 282 | * clang et al do not have such an attribute |
257 | */ | 283 | */ |