Files
pkgsrc-ng/www/amaya/patches/patch-ac
2013-09-26 17:14:40 +02:00

19 lines
431 B
Plaintext

$NetBSD: patch-ac,v 1.13 2011/07/02 22:19:30 dholland Exp $
- needs <wchar.h>
--- Amaya/thotlib/include/ustring.h~ 2007-10-18 03:40:32.000000000 -0400
+++ Amaya/thotlib/include/ustring.h 2008-09-08 04:46:10.000000000 -0400
@@ -6,6 +6,11 @@
#include <windows.h>
#endif /* _WINGUI */
+#include "config.h"
+#ifdef HAVE_WCHAR_H
+#include <wchar.h>
+#endif
+
#ifdef _WINDOWS
#define strncasecmp _strnicmp
#endif /* _WINDOWS */