aboutsummaryrefslogtreecommitdiffstats
path: root/x11/mrxvt-devel/files/patch-src-strings.c
blob: 3962ba672e0973c66211098e2a5b7ae31357ce5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/strings.c.orig  Fri Jul 22 19:49:43 2005
+++ src/strings.c   Fri Jul 22 19:50:40 2005
@@ -44,6 +44,7 @@
 
 #ifdef HAVE_WCHAR_H
 /* EXTPROTO */
+#if _FreeBSD_version >= 500000
 char*
 rxvt_wcstombs (const wchar_t* str, int len)
 {
@@ -70,6 +71,7 @@
 
    return r;
 }
+#endif
 
 
 /* EXTPROTO */