mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
27 lines
643 B
Plaintext
27 lines
643 B
Plaintext
$NetBSD: patch-ab,v 1.12 2012/05/25 20:01:31 he Exp $
|
|
|
|
Special adaptation for different NetBSD versions and for OpenBSD.
|
|
|
|
--- config_f.h.orig 2006-08-28 10:53:04.000000000 -0400
|
|
+++ config_f.h 2007-04-09 20:02:34.000000000 -0400
|
|
@@ -44,7 +44,18 @@
|
|
* of nls...
|
|
*
|
|
*/
|
|
-#define SHORT_STRINGS
|
|
+#if defined(__NetBSD__)
|
|
+# include <sys/param.h>
|
|
+# if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 200000000)
|
|
+# define SHORT_STRINGS
|
|
+# else
|
|
+# undef SHORT_STRINGS
|
|
+# endif
|
|
+#elif defined(__OpenBSD__)
|
|
+# undef SHORT_STRINGS
|
|
+#else
|
|
+# define SHORT_STRINGS
|
|
+#endif
|
|
|
|
/*
|
|
* WIDE_STRINGS Represent strings using wide characters
|