remove unused macro definitions

and limit others to the configurations which use them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-04-04 16:44:30 +00:00
parent 010e897e48
commit 9b41d18b25
18 changed files with 31 additions and 92 deletions

View File

@@ -48,18 +48,16 @@
#include <sstream>
#endif
#ifndef HAVE_STD_STRING_COMPARE
// string handling functions used by wxString:
#if wxUSE_UNICODE_UTF8
#define wxStringMemcpy memcpy
#define wxStringMemcmp memcmp
#define wxStringMemchr memchr
#define wxStringStrlen strlen
#else
#define wxStringMemcpy wxTmemcpy
#define wxStringMemcmp wxTmemcmp
#define wxStringMemchr wxTmemchr
#define wxStringStrlen wxStrlen
#endif
#endif
// define a function declared in wx/buffer.h here as we don't have buffer.cpp
// and don't want to add it just because of this simple function