aboutsummaryrefslogtreecommitdiff
path: root/common/translation.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-06-15 19:20:58 +0000
committerJohannes Schickel2010-06-15 19:20:58 +0000
commit49463c2bf95f8293746f2b6cb9420f313c6babf3 (patch)
tree54a2678f2e3d5cb20ad7b070b961605d9a9dc2a3 /common/translation.h
parent7360bea1ee55443c14639c13bc0b548bb941a705 (diff)
downloadscummvm-rg350-49463c2bf95f8293746f2b6cb9420f313c6babf3.tar.gz
scummvm-rg350-49463c2bf95f8293746f2b6cb9420f313c6babf3.tar.bz2
scummvm-rg350-49463c2bf95f8293746f2b6cb9420f313c6babf3.zip
Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of (ENABLE_)TRANSLATION, DETECTLANG and TERMCONV.
svn-id: r49885
Diffstat (limited to 'common/translation.h')
-rw-r--r--common/translation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/translation.h b/common/translation.h
index ce65688884..c264eadfd9 100644
--- a/common/translation.h
+++ b/common/translation.h
@@ -28,7 +28,7 @@
#include "common/singleton.h"
#include "common/str-array.h"
-#ifdef TERMCONV
+#ifdef USE_TERMCONV
#include <iconv.h>
#endif
@@ -63,13 +63,13 @@ class TranslationManager : public Singleton<TranslationManager> {
private:
Common::String _syslang;
-#ifdef TERMCONV
+#ifdef USE_TERMCONV
iconv_t _conversion;
char *_convmsg;
int _sizeconv;
bool convert(const char *message);
-#endif // TERMCONV
+#endif // USE_TERMCONV
public:
/**
@@ -147,7 +147,7 @@ public:
#define TransMan Common::TranslationManager::instance()
-#ifdef TRANSLATION
+#ifdef USE_TRANSLATION
#define _(str) TransMan.getTranslation(str)
#define _t(str) TransMan.convertTerm(_(str))
#else