From 851b6f99c1248c8ec8e33322a3179c1d82fdd515 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:31:23 +0200 Subject: 6.2 --- zen/i18n.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zen/i18n.h') diff --git a/zen/i18n.h b/zen/i18n.h index 6b8cf142..5aedc41c 100644 --- a/zen/i18n.h +++ b/zen/i18n.h @@ -14,9 +14,11 @@ //minimal layer enabling text translation - without platform/library dependencies! +#ifdef __WXMSW__ //we have wxWidgets #ifndef WXINTL_NO_GETTEXT_MACRO #error WXINTL_NO_GETTEXT_MACRO must be defined to deactivate wxWidgets underscore macro #endif +#endif #define ZEN_TRANS_CONCAT_SUB(X, Y) X ## Y #define _(s) zen::implementation::translate(ZEN_TRANS_CONCAT_SUB(L, s)) -- cgit