summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches/patch-ab
blob: 063a5119abac7bc5b9bd5f3530a30e6ca9109b28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ab,v 1.11 2007/04/11 04:56:56 christos Exp $

--- 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