Fixed compile error on gcc:
renamed 'typeof' function pointer in HSQAPI to 'type_of' to avoid naming collision (gcc implements it's own typeof keyword) https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
#define sq_pushnull SqModule::api->pushnull
|
||||
#define sq_pushthread SqModule::api->pushthread
|
||||
#define sq_gettype SqModule::api->gettype
|
||||
#define sq_typeof SqModule::api->typeof
|
||||
#define sq_typeof SqModule::api->type_of
|
||||
#define sq_getsize SqModule::api->getsize
|
||||
#define sq_gethash SqModule::api->gethash
|
||||
#define sq_getbase SqModule::api->getbase
|
||||
|
||||
Reference in New Issue
Block a user