diff options
author | Dai Sato <satodai@w3m.jp> | 2007-05-23 15:06:05 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2007-05-23 15:06:05 +0000 |
commit | 3c7e9b27c1db068e9b29e5ffa3a74dea449a0c9a (patch) | |
tree | 3aa5dcb2c9d7db6bc81a56a82c160e5a93173071 /config.h.in | |
parent | fix comments. (diff) | |
download | w3m-3c7e9b27c1db068e9b29e5ffa3a74dea449a0c9a.tar.gz w3m-3c7e9b27c1db068e9b29e5ffa3a74dea449a0c9a.zip |
[w3m-dev 04155] fix for minpw.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 09283fa..313616c 100644 --- a/config.h.in +++ b/config.h.in @@ -166,9 +166,15 @@ typedef RETSIGTYPE MySignalHandler; #define SIGNAL_RETURN @SIGNAL_RETURN@ #ifdef HAVE_SIGSETJMP +#ifdef __MINGW32_VERSION +# define SETJMP(env) setjmp(env) +# define LONGJMP(env,val) longjmp(env, val) +# define JMP_BUF jmp_buf +#else # define SETJMP(env) sigsetjmp(env,1) # define LONGJMP(env,val) siglongjmp(env,val) # define JMP_BUF sigjmp_buf +#endif /* __MINGW32_VERSION */ #else # define SETJMP(env) setjmp(env) # define LONGJMP(env,val) longjmp(env) @@ -233,4 +239,12 @@ typedef RETSIGTYPE MySignalHandler; #define BUNZIP2_NAME "bunzip2" #define INFLATE_NAME "inflate" +#ifdef __MINGW32_VERSION +#define SIGKILL SIGTERM +#define S_IXGRP 0 +#define S_IXOTH 0 +#define S_IRWXG 0 +#define S_IRWXO 0 +#endif /* __MINGW32_VERSION */ + #endif /* CONFIG_H_SEEN */ |