(svn r12786) -Change: remove more function from functions.h.
authorrubidium
Sat, 19 Apr 2008 13:04:29 +0000
changeset 8991 749d842945cc
parent 8990 0d5bb1c2a4a6
child 8992 0b2fb43cc875
(svn r12786) -Change: remove more function from functions.h.
src/functions.h
src/strings.cpp
--- a/src/functions.h	Sat Apr 19 12:50:02 2008 +0000
+++ b/src/functions.h	Sat Apr 19 13:04:29 2008 +0000
@@ -68,7 +68,6 @@
 
 /* callback from drivers that is called if the game size changes dynamically */
 void GameSizeChanged();
-const char *GetCurrentLocale(const char *param);
 
 int ttd_main(int argc, char* argv[]);
 void HandleExitGameRequest();
--- a/src/strings.cpp	Sat Apr 19 12:50:02 2008 +0000
+++ b/src/strings.cpp	Sat Apr 19 13:04:29 2008 +0000
@@ -1318,6 +1318,8 @@
 
 	return getenv("LANG");
 }
+#else
+const char *GetCurrentLocale(const char *param);
 #endif /* !(defined(WIN32) || defined(__APPLE__)) */
 
 int CDECL StringIDSorter(const void *a, const void *b)