mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
44 lines
1.2 KiB
C
44 lines
1.2 KiB
C
$NetBSD: patch-include_konoha1_konoha__config.h,v 1.2 2012/08/12 11:24:00 marino Exp $
|
|
|
|
* Add NetBSD support
|
|
* Add DragonFly support
|
|
|
|
--- include/konoha1/konoha_config.h.orig 2012-03-07 06:52:14.000000000 +0000
|
|
+++ include/konoha1/konoha_config.h
|
|
@@ -288,6 +288,17 @@ typedef struct knh_sysinfo_t {
|
|
#define K_USING_SQLITE3 1
|
|
#endif
|
|
|
|
+#if defined(__NetBSD__) /* NetBSD */
|
|
+#define K_USING_PTHREAD
|
|
+#define K_USING_STDC_ 1
|
|
+#define K_USING_POSIX_ 1
|
|
+#define K_USING_BSD_ 1
|
|
+#define K_USING_BSDSYSCTL_ 1
|
|
+#define K_USING_SYSLOG 1
|
|
+#define K_USING_ICONV 1
|
|
+#define K_USING_SQLITE3 1
|
|
+#endif
|
|
+
|
|
#if defined(__MINGW32__) /* mingw */
|
|
#define K_USING_STDC_ 1
|
|
#define K_USING_SETJMP_ 1
|
|
@@ -328,6 +339,17 @@ typedef struct knh_sysinfo_t {
|
|
|
|
/* experimetally supported */
|
|
|
|
+#if defined(__DragonFly__)
|
|
+#define K_USING_PTHREAD
|
|
+#define K_USING_STDC_ 1
|
|
+#define K_USING_POSIX_ 1
|
|
+#define K_USING_BSD_ 1
|
|
+#define K_USING_BSDSYSCTL_ 1
|
|
+#define K_USING_ICONV 1
|
|
+#define K_USING_SYSLOG 1
|
|
+#define K_USING_SQLITE3 1
|
|
+#endif
|
|
+
|
|
#if defined(__FreeBSD__) /* FreeBSD */
|
|
#define K_USING_STDC_ 1
|
|
#define K_USING_POSIX_ 1
|