summaryrefslogtreecommitdiff
path: root/libraries/base/include/HsBase.h
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-04 16:42:34 +0000
committerIan Lynagh <igloo@earth.li>2008-09-04 16:42:34 +0000
commit2e383b729ea18179762ce02926767247ca619d03 (patch)
tree8dea89c82318034bfd11b44b606c446d4ba26ba5 /libraries/base/include/HsBase.h
parent672a5a99bc0dfbcc13ddae010784b343b07ce445 (diff)
downloadhaskell-2e383b729ea18179762ce02926767247ca619d03.tar.gz
Don't make S_ISSOCK use conditional
We were conditionally defining the C wrapper, but unconditionally using it. So if it didn't exist then things would have broken anyway.
Diffstat (limited to 'libraries/base/include/HsBase.h')
-rw-r--r--libraries/base/include/HsBase.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libraries/base/include/HsBase.h b/libraries/base/include/HsBase.h
index 63b0d5c35b..0ee058d0e6 100644
--- a/libraries/base/include/HsBase.h
+++ b/libraries/base/include/HsBase.h
@@ -229,10 +229,8 @@ 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); }
-#ifdef S_ISSOCK
INLINE int __hscore_s_issock(mode_t m) { return S_ISSOCK(m); }
#endif
-#endif
#if !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(_WIN32)
INLINE int