fix build with CITRUS; from XF4 XawI18n.h
This commit is contained in:
parent
516467afb7
commit
30b0ada6a9
16
x11/Xaw3d/patches/patch-XawI18n_h
Normal file
16
x11/Xaw3d/patches/patch-XawI18n_h
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
$OpenBSD: patch-XawI18n_h,v 1.1 2004/11/03 23:46:11 naddy Exp $
|
||||||
|
--- XawI18n.h.orig Thu Nov 4 00:32:53 2004
|
||||||
|
+++ XawI18n.h Thu Nov 4 00:33:46 2004
|
||||||
|
@@ -29,10 +29,12 @@ in this Software without prior written a
|
||||||
|
|
||||||
|
#ifdef HAS_WCTYPE_H
|
||||||
|
#include <wctype.h>
|
||||||
|
+#ifndef NO_WIDEC_H
|
||||||
|
#include <widec.h>
|
||||||
|
#define wcslen(c) wslen(c)
|
||||||
|
#define wcscpy(d,s) wscpy(d,s)
|
||||||
|
#define wcsncpy(d,s,l) wsncpy(d,s,l)
|
||||||
|
+#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAS_WCHAR_H
|
Loading…
Reference in New Issue
Block a user