summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-28 19:50:49 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-28 19:50:49 +0800
commit8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9 (patch)
tree6a91b2495817dafffcf3590b7e8c6394e01725cd /x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h
parentee490f9c1d681ae11bc3f01bf0f40186b20a9824 (diff)
downloadmarcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar
marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.gz
marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.bz2
marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.lz
marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.xz
marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.tar.zst
marcuscom-ports-8cd2c62b9616a56e7a3b4b4f06d1f07a459555a9.zip
Fix build with new glib
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13065 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h')
-rw-r--r--x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h b/x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h
new file mode 100644
index 000000000..57f49cb17
--- /dev/null
+++ b/x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h
@@ -0,0 +1,18 @@
+
+$FreeBSD: ports/x11-toolkits/wxgtk24/files/patch-include::wx::wxchar.h,v 1.4 2006/10/14 08:52:28 marcus Exp $
+
+--- include/wx/wxchar.h.orig Sun Sep 15 21:19:48 2002
++++ include/wx/wxchar.h Sat Oct 26 18:06:12 2002
+@@ -554,10 +554,10 @@
+ #endif // wxUSE_WCHAR_T
+
+ // checks whether the passed in pointer is NULL and if the string is empty
+-inline bool wxIsEmpty(const wxChar *p) { return !p || !*p; }
++WXDLLEXPORT inline bool wxIsEmpty(const wxChar *p) { return !p || !*p; }
+
+ // safe version of strlen() (returns 0 if passed NULL pointer)
+-inline size_t wxStrlen(const wxChar *psz) { return psz ? wxStrlen_(psz) : 0; }
++WXDLLEXPORT inline size_t wxStrlen(const wxChar *psz) { return psz ? wxStrlen_(psz) : 0; }
+
+ WXDLLEXPORT bool wxOKlibc(); // for internal use
+