summaryrefslogtreecommitdiff
path: root/src/gettext.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-10-24 13:31:42 -0400
committerkwolekr <kwolekr@minetest.net>2015-10-24 13:34:49 -0400
commit2d207afe8e12f00b5a1276a678e2402c3c4c7961 (patch)
treedbfad19b963b3cd23bee68e8f8aec363735d2ad3 /src/gettext.h
parent127b9aed09d2b807f75495137ef1a07ca53c518b (diff)
downloadminetest-2d207afe8e12f00b5a1276a678e2402c3c4c7961.tar.gz
minetest-2d207afe8e12f00b5a1276a678e2402c3c4c7961.tar.bz2
minetest-2d207afe8e12f00b5a1276a678e2402c3c4c7961.zip
Fix compilation under MSVC and remove unnecessary conditional function prototype
Thanks to SmallJoker for pointing this out.
Diffstat (limited to 'src/gettext.h')
-rw-r--r--src/gettext.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gettext.h b/src/gettext.h
index cb3a14160..b8d27f77c 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -32,12 +32,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define gettext_noop(String) (String)
#define N_(String) gettext_noop((String))
-#ifdef _MSC_VER
void init_gettext(const char *path, const std::string &configured_language,
- int argc, const char *argv[]);
-#else
-void init_gettext(const char *path, const std::string &configured_language);
-#endif
+ int argc, char *argv[]);
extern wchar_t *utf8_to_wide_c(const char *str);