# HG changeset patch # User yexo # Date 2009-09-10 23:14:21 # Node ID 63490f079d8eda3a8e47f49376ed56567b79d2f2 # Parent 6cf69c4b22b01f463ff5561d64fb99efe99bb2ca (svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them diff --git a/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp b/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp --- 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) {