summaryrefslogtreecommitdiff
path: root/compiler/nativeGen
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r--compiler/nativeGen/NCG.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/nativeGen/NCG.h b/compiler/nativeGen/NCG.h
index b17f682e71..3a7bfcd5e8 100644
--- a/compiler/nativeGen/NCG.h
+++ b/compiler/nativeGen/NCG.h
@@ -38,6 +38,12 @@
# define IF_OS_freebsd(x,y) y
#endif
-- - - - - - - - - - - - - - - - - - - - - -
+#if dragonfly_TARGET_OS
+# define IF_OS_dragonfly(x,y) x
+#else
+# define IF_OS_dragonfly(x,y) y
+#endif
+-- - - - - - - - - - - - - - - - - - - - - -
#if netbsd_TARGET_OS
# define IF_OS_netbsd(x,y) x
#else