diff options
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1972,5 +1972,10 @@ erealloc_real(void *ptr, size_t count, const char *where, const char *var, const #else #define ignore_sigpipe() #define set_sigpipe_to_default() +#ifdef __MINGW32__ +/* 0xC0000008 is EXCEPTION_INVALID_HANDLE, somewhat appropriate for EPIPE */ +#define die_via_sigpipe() exit(0xC0000008) +#else /* !__MINGW32__ */ #define die_via_sigpipe() exit(EXIT_FATAL) +#endif /* !__MINGW32__ */ #endif |