diff options
author | yexo <yexo@openttd.org> | 2009-09-10 23:14:21 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-09-10 23:14:21 +0000 |
commit | c9a25c88fa522fa778c2de827d98cce46700d1f6 (patch) | |
tree | 783e5c6172a16abb812e17f5dcfb60589529ff96 /src/3rdparty/squirrel | |
parent | ca6c4ee98ade5710757ed662108823525a4ee4c7 (diff) | |
download | openttd-c9a25c88fa522fa778c2de827d98cce46700d1f6.tar.xz |
(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
Diffstat (limited to 'src/3rdparty/squirrel')
-rw-r--r-- | src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp b/src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp index 0e8847dcf..132f341f2 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) { |