aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 22:38:28 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-31 00:19:53 +0100
commit944b05c4aa35378db18cee4fcd4e1f02e67ce645 (patch)
treef27e6e14e14aa17224e482a42d255baca88bb6a2 /include
parent731f7dddcbae3c4332beac742605dade2d4a80ad (diff)
Remove obsolete windows-related #ifdefs
We haven't properly supported Windows for some time now, and we wouldn't have any way to test anyway, since GHC doesn't support Cygwin anymore either.
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h
index 8b468b7..e276726 100644
--- a/include/HsUnix.h
+++ b/include/HsUnix.h
@@ -143,9 +143,7 @@ int __hsunix_unlockpt(int fd);
// push a SVR4 STREAMS module; do nothing if STREAMS not available
int __hsunix_push_module(int fd, const char *module);
-#if !defined(__MINGW32__)
int __hscore_mkstemp(char *filetemplate);
-#endif
#if HAVE_MKSTEMPS
int __hscore_mkstemps(char *filetemplate, int suffixlen);
@@ -155,7 +153,7 @@ int __hscore_mkstemps(char *filetemplate, int suffixlen);
char *__hscore_mkdtemp(char *filetemplate);
#endif
-#if !defined(__MINGW32__) && !defined(irix_HOST_OS)
+#if !defined(irix_HOST_OS)
int __hscore_getrlimit(int resource, struct rlimit *rlim);
int __hscore_setrlimit(int resource, struct rlimit *rlim);
#endif