mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Fix redefinition warning in Internat.h
This commit is contained in:
parent
26cf8a41c1
commit
877f07834f
@ -31,6 +31,10 @@ extern const wxString& GetCustomSubstitution(const wxString& str1 );
|
||||
// Marks strings for extraction only...must use wxGetTranslation() to translate.
|
||||
#define XO(s) wxT(s)
|
||||
|
||||
#ifdef _
|
||||
#undef _
|
||||
#endif
|
||||
|
||||
#if defined( __WXDEBUG__ )
|
||||
// Force a crash if you misuse _ in a static initializer, so that translation
|
||||
// is looked up too early and not found.
|
||||
@ -53,6 +57,11 @@ extern const wxString& GetCustomSubstitution(const wxString& str1 );
|
||||
#define _(s) GetCustomTranslation((s))
|
||||
#endif
|
||||
|
||||
#ifdef wxPLURAL
|
||||
#undef wxPLURAL
|
||||
#endif
|
||||
|
||||
|
||||
// The two string arugments will go to the .pot file, as
|
||||
// msgid sing
|
||||
// msgid_plural plural
|
||||
|
Loading…
x
Reference in New Issue
Block a user