diff options
Diffstat (limited to 'test/flush1.c')
-rw-r--r-- | test/flush1.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/flush1.c b/test/flush1.c index c1017c5..c543bcf 100644 --- a/test/flush1.c +++ b/test/flush1.c @@ -13,6 +13,15 @@ */ #include "h5test.h" + +#if defined __MWERKS__ +#include <abort_exit.h> +# define EXIT(a) __exit(a) +#else +# define EXIT(a) _exit(a) +#endif + + const char *FILENAME[] = { "flush", NULL @@ -88,10 +97,10 @@ main(void) PASSED(); fflush(stdout); fflush(stderr); - _exit(0); + EXIT(0); return 0; error: - _exit(1); + EXIT(1); return 1; } |