From 2d207afe8e12f00b5a1276a678e2402c3c4c7961 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 24 Oct 2015 13:31:42 -0400 Subject: Fix compilation under MSVC and remove unnecessary conditional function prototype Thanks to SmallJoker for pointing this out. --- src/gettext.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/gettext.cpp') diff --git a/src/gettext.cpp b/src/gettext.cpp index 26b16f434..1fab875e5 100644 --- a/src/gettext.cpp +++ b/src/gettext.cpp @@ -117,12 +117,8 @@ const char* MSVC_LocaleLookup(const char* raw_shortname) { #endif /******************************************************************************/ -#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[]) { #if USE_GETTEXT // First, try to set user override environment -- cgit v1.2.3