aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2005-02-26 17:06:44 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2005-02-26 17:06:44 +0000
commit088e2bc30b897a2eb48ba5ee6ab6dc3a1219afa1 (patch)
treeeb82ee68774acaa576e6a776279a1004c0b87952 /config.h.in
parent[w3m-dev-en 01045] From newbie: problem with w3m-0.5.1 installation (diff)
downloadw3m-088e2bc30b897a2eb48ba5ee6ab6dc3a1219afa1.tar.gz
w3m-088e2bc30b897a2eb48ba5ee6ab6dc3a1219afa1.zip
[w3m-dev 04143] Patch for OS/2
* config.h.in: ifdef HAVE_SETPGRP * configure.in: define USE_BINMODE_STREAM for *os2-emx* * islang.c: ULONG -> unsigned long * main.c: ULONG -> unsigned long
Diffstat (limited to '')
-rw-r--r--config.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 38ee8e9..09283fa 100644
--- a/config.h.in
+++ b/config.h.in
@@ -145,12 +145,15 @@ typedef long clen_t;
#undef HAVE_LANGINFO_CODESET
#undef SETPGRP_VOID
+#ifdef HAVE_SETPGRP
#ifdef SETPGRP_VOID
#define SETPGRP() setpgrp()
#else
#define SETPGRP() setpgrp(0,0)
#endif
-
+#else /* no HAVE_SETPGRP; OS/2 EMX */
+#define SETPGRP() setpgid(0, 0)
+#endif
#undef HAVE_FLOAT_H
#undef HAVE_SYS_SELECT_H