Patch for shared libraries support on FreeBSD
[ghc-hetmet.git] / compiler / nativeGen / NCG.h
index 3a7bfcd..5921518 100644 (file)
 #else
 # define IF_OS_darwin(x,y) y
 #endif
+-- - - - - - - - - - - - - - - - - - - - - - 
+#if freebsd_TARGET_OS
+# define IF_OS_freebsd(x,y) x
+#else
+# define IF_OS_freebsd(x,y) y
+#endif
 ---------------------------------------------
 #endif