projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77ff249
)
[project @ 2004-06-02 16:09:58 by simonmar]
author
simonmar
<unknown>
Wed, 2 Jun 2004 16:09:58 +0000
(16:09 +0000)
committer
simonmar
<unknown>
Wed, 2 Jun 2004 16:09:58 +0000
(16:09 +0000)
__hscore_PrelHandle_{send,recv}: make these mingw32-only
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
d3fc3a2
..
1bcce33
100644
(file)
--- a/
include/HsBase.h
+++ b/
include/HsBase.h
@@
-406,6
+406,7
@@
__hscore_PrelHandle_read( HsInt fd, HsAddr ptr, HsInt off, int sz )
}
+#if defined(mingw32_TARGET_OS) || defined(_MSC_VER)
INLINE HsInt
__hscore_PrelHandle_send( HsInt fd, HsAddr ptr, HsInt off, int sz )
{
@@
-417,6
+418,7
@@
__hscore_PrelHandle_recv( HsInt fd, HsAddr ptr, HsInt off, int sz )
{
return recv(fd,(char *)ptr + off, sz, 0);
}
+#endif
#if defined(mingw32_TARGET_OS) || defined(_MSC_VER)
INLINE long *