diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/macros.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp index 766730db..c3bbb652 100644 --- a/compat/macros.hpp +++ b/compat/macros.hpp @@ -1,8 +1,10 @@ #pragma once -#include <QCoreApplication> -#define otr_tr(str) (QCoreApplication::translate(OTR_MODULE_NAME, (str))) -#define _(x) otr_tr((x)) +#if !defined __WINE__ +# include <QCoreApplication> +# define otr_tr(str) (QCoreApplication::translate(OTR_MODULE_NAME, (str))) +# define _(x) otr_tr((x)) +#endif #if defined _MSC_VER # |