projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b27eb
)
[project @ 1999-09-30 12:35:04 by sof]
author
sof
<unknown>
Thu, 30 Sep 1999 12:35:04 +0000
(12:35 +0000)
committer
sof
<unknown>
Thu, 30 Sep 1999 12:35:04 +0000
(12:35 +0000)
don't re-define O_NOCTTY
ghc/lib/std/cbits/openFile.c
patch
|
blob
|
history
diff --git
a/ghc/lib/std/cbits/openFile.c
b/ghc/lib/std/cbits/openFile.c
index
f8528a6
..
2491b17
100644
(file)
--- a/
ghc/lib/std/cbits/openFile.c
+++ b/
ghc/lib/std/cbits/openFile.c
@@
-1,7
+1,7
@@
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
- * $Id: openFile.c,v 1.9 1999/09/19 19:15:26 sof Exp $
+ * $Id: openFile.c,v 1.10 1999/09/30 12:35:04 sof Exp $
*
* openFile Runtime Support
*/
@@
-29,7
+29,7
@@
#include <fcntl.h>
#endif
-#ifdef mingw32_TARGET_OS
+#if defined(mingw32_TARGET_OS) && !defined(O_NOCTTY)
#define O_NOCTTY 0
#endif