changeset 13005:ccce2b3aba85 draft

(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
author yexo <yexo@openttd.org>
date Thu, 10 Sep 2009 23:14:21 +0000
parents 3af5170994d2
children 5bdfd15096d6
files src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp
+++ b/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp
@@ -21,6 +21,7 @@
 	return 1; \
 }
 
+#ifdef EXPORT_DEFAULT_SQUIRREL_FUNCTIONS
 static SQInteger math_srand(HSQUIRRELVM v)
 {
 	SQInteger i;
@@ -35,6 +36,7 @@
 	sq_pushinteger(v,rand());
 	return 1;
 }
+#endif /* EXPORT_DEFAULT_SQUIRREL_FUNCTIONS */
 
 static SQInteger math_abs(HSQUIRRELVM v)
 {