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:
e7b6e73
)
Don't define __hscore_s_issock on Windows
author
Ian Lynagh
<igloo@earth.li>
Thu, 4 Sep 2008 20:28:45 +0000
(20:28 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 4 Sep 2008 20:28:45 +0000
(20:28 +0000)
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
0ee058d
..
fd10e11
100644
(file)
--- a/
include/HsBase.h
+++ b/
include/HsBase.h
@@
-229,8
+229,10
@@
INLINE int __hscore_s_isdir(mode_t m) { return S_ISDIR(m); }
INLINE int __hscore_s_isfifo(mode_t m) { return S_ISFIFO(m); }
INLINE int __hscore_s_isblk(mode_t m) { return S_ISBLK(m); }
INLINE int __hscore_s_ischr(mode_t m) { return S_ISCHR(m); }
+#if !defined(mingw32_HOST_OS) && !defined(__MINGW32__)
INLINE int __hscore_s_issock(mode_t m) { return S_ISSOCK(m); }
#endif
+#endif
#if !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(_WIN32)
INLINE int