1
0
Fork 0

(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them

release/1.0
yexo 2009-09-10 23:14:21 +00:00
parent ca6c4ee98a
commit c9a25c88fa
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
return 1; \ return 1; \
} }
#ifdef EXPORT_DEFAULT_SQUIRREL_FUNCTIONS
static SQInteger math_srand(HSQUIRRELVM v) static SQInteger math_srand(HSQUIRRELVM v)
{ {
SQInteger i; SQInteger i;
@ -35,6 +36,7 @@ static SQInteger math_rand(HSQUIRRELVM v)
sq_pushinteger(v,rand()); sq_pushinteger(v,rand());
return 1; return 1;
} }
#endif /* EXPORT_DEFAULT_SQUIRREL_FUNCTIONS */
static SQInteger math_abs(HSQUIRRELVM v) static SQInteger math_abs(HSQUIRRELVM v)
{ {