From c9a25c88fa522fa778c2de827d98cce46700d1f6 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 10 Sep 2009 23:14:21 +0000 Subject: [PATCH] (svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them --- src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp b/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp index 0e8847dcf2..132f341f22 100644 --- 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 @@ static SQInteger math_rand(HSQUIRRELVM v) sq_pushinteger(v,rand()); return 1; } +#endif /* EXPORT_DEFAULT_SQUIRREL_FUNCTIONS */ static SQInteger math_abs(HSQUIRRELVM v) {