mlibc: Mescc-tools support: exit stati.

* mlibc/include/stdlib.h (EXIT_FAILURE, EXIT_SUCCESS): New define.
This commit is contained in:
Jan Nieuwenhuizen 2017-11-19 14:05:33 +01:00
parent 66a78f68cb
commit 7f1aaa9914
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ long long strtoll (char const *nptr, char **endptr, int base);
unsigned long strtoul (char const *nptr, char **endptr, int base);
unsigned long long strtoull (char const *nptr, char **endptr, int base);
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#endif // !(__GNUC__ && POSIX)
#endif // __MES_STDLIB_H