28 lines
783 B
Text
28 lines
783 B
Text
$NetBSD: patch-ai,v 1.1 2006/01/11 17:02:39 joerg Exp $
|
|
|
|
--- vslib/target.h.orig 2006-01-11 16:51:18.000000000 +0000
|
|
+++ vslib/target.h
|
|
@@ -41,6 +41,14 @@
|
|
#endif
|
|
|
|
#ifdef _TARGET_UNKNOWN_
|
|
+ #if defined(__DragonFly__)
|
|
+ #define _TARGET_DRAGONFLY_
|
|
+ #define _TARGET_DESCRIPTION_ "UNIX/DRAGONFLY"
|
|
+ #undef _TARGET_UNKNOWN_
|
|
+ #endif
|
|
+#endif
|
|
+
|
|
+#ifdef _TARGET_UNKNOWN_
|
|
#if defined(WIN32)
|
|
#define _TARGET_WIN32_
|
|
#define _TARGET_DESCRIPTION_ "DOS/WIN32" // sorry :)
|
|
@@ -61,7 +69,7 @@
|
|
|
|
/****************************************** define target UNIX platforms ***/
|
|
|
|
-#if defined(_TARGET_LINUX_) || defined(_TARGET_NETBSD_)
|
|
+#if defined(_TARGET_LINUX_) || defined(_TARGET_NETBSD_) || defined(_TARGET_DRAGONFLY_)
|
|
#define _TARGET_UNIX_
|
|
#undef _TARGET_UNKNOWN_
|
|
#endif
|