mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix compilation under MSVC and remove unnecessary conditional function prototype
Thanks to SmallJoker for pointing this out.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user