X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FHsVersions.h;h=4d8e52133f36fc5e352b62514abed89b38944413;hp=aa251f4c916708fda85f19a8ed1d8673856c7b65;hb=190b2d90f92f61eb802275729106b5d9fb9a7a7c;hpb=c1a4499cb747c6d49bac925065f7c4eb4208e568 diff --git a/compiler/HsVersions.h b/compiler/HsVersions.h index aa251f4..4d8e521 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 +#if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS #define elf_OBJ_FORMAT 1 #endif @@ -56,7 +56,7 @@ name = Util.globalMVar (value); #ifdef DEBUG #define ASSERT(e) if (not (e)) then (assertPanic __FILE__ __LINE__) else #define ASSERT2(e,msg) if (not (e)) then (assertPprPanic __FILE__ __LINE__ (msg)) else -#define WARN( e, msg ) (warnPprTrace (e) __FILE__ __LINE__ (msg)) +#define WARN( e, msg ) (warnPprTrace (e) __FILE__ __LINE__ (msg)) $ #else -- We have to actually use all the variables we are given or we may get -- unused variable warnings when DEBUG is off.