diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-02 23:47:28 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-02 23:47:28 +0300 |
commit | 3b7a060d1227d01af9b98e748388087c9a160410 (patch) | |
tree | 92ab078b7a1d13fa9ad789e6301c92ac47db61ee /awk.h | |
parent | a21be4f3019e0aa047791189d921dbe718947bce (diff) | |
download | egawk-3b7a060d1227d01af9b98e748388087c9a160410.tar.gz egawk-3b7a060d1227d01af9b98e748388087c9a160410.tar.bz2 egawk-3b7a060d1227d01af9b98e748388087c9a160410.zip |
Compile fixes for Cygwin.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -182,6 +182,9 @@ extern void *memset_ulong(void *dest, int val, unsigned long l); #ifdef HAVE_LIBSIGSEGV #include <sigsegv.h> +/* On Cygwin, sigsegv.h includes windows.h, which defines a datatype + called "__small", which in turn is defined to "small". */ +#undef small #else typedef void *stackoverflow_context_t; #define sigsegv_install_handler(catchsegv) signal(SIGSEGV, catchsig) |