summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbm/src/h_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbm/src/h_page.c b/dbm/src/h_page.c
index 700562137..79f31477d 100644
--- a/dbm/src/h_page.c
+++ b/dbm/src/h_page.c
@@ -1205,7 +1205,7 @@ open_temp(HTAB *hashp)
#else
if ((hashp->fp = mkstemp(filename)) != -1) {
(void)unlink(filename);
-#if !defined(macintosh)
+#if !defined(macintosh) && !defined(XP_OS2)
(void)fcntl(hashp->fp, F_SETFD, 1);
#endif
}