pkgsrc/devel/poco/patches/patch-Foundation_include_Poco_Platform.h
obache 54e5bedad8 Add DragonFly BSD support.
PR pkg/45475 by Samuel J. Greear.
2011-10-16 08:18:52 +00:00

17 lines
570 B
C

$NetBSD: patch-Foundation_include_Poco_Platform.h,v 1.1 2011/10/16 08:18:53 obache Exp $
* DragonFly BSD support
--- Foundation/include/Poco/Platform.h.orig 2010-12-16 05:43:25 +0000
+++ Foundation/include/Poco/Platform.h
@@ -93,6 +93,10 @@
#define POCO_OS_FAMILY_UNIX 1
#define POCO_OS_FAMILY_BSD 1
#define POCO_OS POCO_OS_OPEN_BSD
+#elif defined(__DragonFly__)
+ #define POCO_OS_FAMILY_UNIX 1
+ #define POCO_OS_FAMILY_BSD 1
+ #define POCO_OS POCO_OS_FREE_BSD
#elif defined(sgi) || defined(__sgi)
#define POCO_OS_FAMILY_UNIX 1
#define POCO_OS POCO_OS_IRIX