diff options
Diffstat (limited to 'x11-toolkits/wxgtk/files/patch-include::wx::wxchar.h')
| -rw-r--r-- | x11-toolkits/wxgtk/files/patch-include::wx::wxchar.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk/files/patch-include::wx::wxchar.h b/x11-toolkits/wxgtk/files/patch-include::wx::wxchar.h new file mode 100644 index 000000000000..f0fd474d8047 --- /dev/null +++ b/x11-toolkits/wxgtk/files/patch-include::wx::wxchar.h @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- 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 + |
