summaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-01-15 18:25:48 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-01-15 18:25:48 +0000
commit2679664f6a0fd40b3d6d5bc1f9d05f9fa6bf91fe (patch)
treeb2745bb52ad98061cf316533a1b5e1ce2a9361c3 /x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h
parentUpdate to 7.4.6 (diff)
Update to 2.4.0.
Diffstat (limited to 'x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h')
-rw-r--r--x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h b/x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h
index 8baf181b9029..f0fd474d8047 100644
--- a/x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h
+++ b/x11-toolkits/wxgtk-devel/files/patch-include::wx::wxchar.h
@@ -1,19 +1,18 @@
$FreeBSD$
---- include/wx/wxchar.h.orig Mon Dec 10 20:07:02 2001
-+++ include/wx/wxchar.h Sat Jan 19 12:14:57 2002
-@@ -532,11 +532,11 @@
- #endif //!Unicode
+--- 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; }
- #ifndef wxNEED_WX_STRING_H
// safe version of strlen() (returns 0 if passed NULL pointer)
--inline size_t wxStrlen(const wxChar *psz)
-+WXDLLEXPORT inline size_t wxStrlen(const wxChar *psz)
- { return psz ? wxStrlen_(psz) : 0; }
- #endif
+-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