projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-07-29 13:57:34 by sof]
[ghc-hetmet.git]
/
ghc
/
lib
/
misc
/
SocketPrim.lhs
diff --git
a/ghc/lib/misc/SocketPrim.lhs
b/ghc/lib/misc/SocketPrim.lhs
index
b63f663
..
809cd85
100644
(file)
--- a/
ghc/lib/misc/SocketPrim.lhs
+++ b/
ghc/lib/misc/SocketPrim.lhs
@@
-958,7
+958,7
@@
packSocketType stype = 1 + (index (Stream, SeqPacket) stype)
-- This is for a box running cygwin32 toolchain.
-#if defined(_WIN32)
+#if defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS)
data SocketType =
Stream
| Datagram