summaryrefslogtreecommitdiff
path: root/rts/Linker.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2015-10-26 20:42:30 +0100
committerBen Gamari <ben@smart-cactus.org>2015-10-26 21:42:57 +0100
commit23e344bbbd27418bb84bdc588374b3e44f6d23a6 (patch)
treee621ef8fc81eedfbc9f2ff45a7688d9cd41efb77 /rts/Linker.c
parent73c273af193f56ea339d423e79d803bea5f45db5 (diff)
downloadhaskell-23e344bbbd27418bb84bdc588374b3e44f6d23a6.tar.gz
Remove cygwin32_HOST_OS #ifdefs
Build system support for Cygwin was removed in b6be81b841. Test Plan: - Validate on x86_64/linux - Cross-compile rts/RtsSymbols.c and rts/Linker.c to Windows using the i686-w64-mingw32-gcc and x86_64-w64-mingw32-gcc cross compilers. Reviewers: hvr, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1371
Diffstat (limited to 'rts/Linker.c')
-rw-r--r--rts/Linker.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 101e5494a3..6be9a5a030 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -58,22 +58,6 @@
#include <dlfcn.h>
#endif
-#if defined(cygwin32_HOST_OS)
-#ifdef HAVE_DIRENT_H
-#include <dirent.h>
-#endif
-
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-#include <regex.h>
-#include <sys/fcntl.h>
-#include <sys/termios.h>
-#include <sys/utime.h>
-#include <sys/utsname.h>
-#include <sys/wait.h>
-#endif
-
#if (defined(powerpc_HOST_ARCH) && defined(linux_HOST_OS)) \
|| (!defined(powerpc_HOST_ARCH) && \
( defined(linux_HOST_OS) || defined(freebsd_HOST_OS) || \
@@ -110,7 +94,7 @@
# define OBJFORMAT_ELF
# include <regex.h> // regex is already used by dlopen() so this is OK
// to use here without requiring an additional lib
-#elif defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
+#elif defined (mingw32_HOST_OS)
# define OBJFORMAT_PEi386
# include <windows.h>
# include <shfolder.h> /* SHGetFolderPathW */