diff options
author | sof <unknown> | 1999-09-30 12:35:04 +0000 |
---|---|---|
committer | sof <unknown> | 1999-09-30 12:35:04 +0000 |
commit | beba86598345fb76035cf2878534d02863870596 (patch) | |
tree | 5d4a2bb7816f1ca33bbc26871b58ab9f5e8fd32d /ghc/lib/std/cbits/openFile.c | |
parent | a1b27eb71e232e3765878fdc9b2b6b48978b437a (diff) | |
download | haskell-beba86598345fb76035cf2878534d02863870596.tar.gz |
[project @ 1999-09-30 12:35:04 by sof]
don't re-define O_NOCTTY
Diffstat (limited to 'ghc/lib/std/cbits/openFile.c')
-rw-r--r-- | ghc/lib/std/cbits/openFile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/lib/std/cbits/openFile.c b/ghc/lib/std/cbits/openFile.c index f8528a6da7..2491b179ac 100644 --- 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 |