[beast: 1/4] BSE: provide i18n macros for BSE_COMPILATION and BSE_PLUGIN_COMPILATION
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 1/4] BSE: provide i18n macros for BSE_COMPILATION and BSE_PLUGIN_COMPILATION
- Date: Wed, 21 Jun 2017 11:37:41 +0000 (UTC)
commit 51e003689e660a278aaa2c23d664e384b3adf043
Author: Tim Janik <timj gnu org>
Date: Wed Jun 21 13:28:25 2017 +0200
BSE: provide i18n macros for BSE_COMPILATION and BSE_PLUGIN_COMPILATION
This is needed so plugins can be compiled with BSE_PLUGIN_COMPILATION and
avoid BSE_COMPILATION which enables type macros that don't work with dynamic
library types.
Signed-off-by: Tim Janik <timj gnu org>
bse/bsedefs.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bse/bsedefs.hh b/bse/bsedefs.hh
index 1ba9dba..975ac86 100644
--- a/bse/bsedefs.hh
+++ b/bse/bsedefs.hh
@@ -131,7 +131,7 @@ typedef void (*BseEngineAccessFunc) (BseModule *module,
gpointer data);
// == i18n Helpers ==
-#ifdef BSE_COMPILATION
+#if defined BSE_COMPILATION or defined BSE_PLUGIN_COMPILATION
#define _(str) ::Bse::_ (str)
#define N_(str) (str)
#endif /* BSE_COMPILATION */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]