summaryrefslogtreecommitdiff
path: root/compiler/HsVersions.h
diff options
context:
space:
mode:
authorKarel Gardas <karel.gardas@centrum.cz>2010-12-17 08:46:17 +0000
committerKarel Gardas <karel.gardas@centrum.cz>2010-12-17 08:46:17 +0000
commitf5f28c48f956faa6706f4c3196541d80a540ebd7 (patch)
tree1ccffd884479d82af73e9fa95eadccc4c5e8c120 /compiler/HsVersions.h
parentfb18c56348c620cc75b129d190dff584392470cb (diff)
downloadhaskell-f5f28c48f956faa6706f4c3196541d80a540ebd7.tar.gz
provide shared libraries support on i386-unknown-solaris2 platform
Diffstat (limited to 'compiler/HsVersions.h')
-rw-r--r--compiler/HsVersions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/HsVersions.h b/compiler/HsVersions.h
index 4d8e52133f..303d2bdc65 100644
--- a/compiler/HsVersions.h
+++ b/compiler/HsVersions.h
@@ -17,7 +17,7 @@ you will screw up the layout where they are used in case expressions!
#include "ghc_boot_platform.h"
/* This macro indicates that the target OS supports ELF-like shared libraries */
-#if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS
+#if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS || solaris2_TARGET_OS
#define elf_OBJ_FORMAT 1
#endif