diff options
Diffstat (limited to 'src')
-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) { |