aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConstantin Wenger <constantin.wenger@googlemail.com>2011-07-30 11:44:45 +0200
committerConstantin Wenger <constantin.wenger@googlemail.com>2011-07-30 22:08:16 +0200
commita817419fe497fad32d675fbe16b1419c853ae083 (patch)
tree2423d1a8231d35d8b192a152b11e9f9d0e957c26 /src
parent37bf9a666aaa37b21d944ac7cca73c2b92f92c68 (diff)
downloadminetest-a817419fe497fad32d675fbe16b1419c853ae083.tar.gz
minetest-a817419fe497fad32d675fbe16b1419c853ae083.tar.bz2
minetest-a817419fe497fad32d675fbe16b1419c853ae083.zip
fixed redefinitivon of gettext.h is included more than once
Diffstat (limited to 'src')
-rw-r--r--src/gettext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gettext.h b/src/gettext.h
index 790375165..a42820a15 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -1,3 +1,4 @@
+#ifndef GETTEXT_HEADER
#include "config.h" // for USE_GETTEXT
#if USE_GETTEXT
@@ -35,3 +36,5 @@ inline void changeCtype(const char *l)
else
std::cout<<"locale has been set to:"<<ret<<std::endl;
}
+#define GETTEXT_HEADER
+#endif