blob: d3fd77ca9653a7162f0e853f2b45afdf602bf5e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ah,v 1.1 2003/04/29 11:27:45 augustss Exp $
--- ./ghc/rts/Linker.c.orig Sun Oct 13 19:50:54 2002
+++ ./ghc/rts/Linker.c Fri Mar 28 23:48:02 2003
@@ -56,7 +56,7 @@
#include <sys/mman.h>
#endif
-#if defined(linux_TARGET_OS) || defined(solaris2_TARGET_OS) || defined(freebsd_TARGET_OS)
+#if defined(linux_TARGET_OS) || defined(solaris2_TARGET_OS) || defined(freebsd_TARGET_OS) || defined(netbsd_TARGET_OS)
# define OBJFORMAT_ELF
#elif defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
# define OBJFORMAT_PEi386
|