fix a compile bug when PK_ENABLE_OS is 0

This commit is contained in:
blueloveTH 2023-08-12 02:40:48 +08:00
parent dba808bf0f
commit c6b1c1015b
2 changed files with 5 additions and 3 deletions

View File

@ -29,5 +29,3 @@ struct FileIO {
}; };
#endif #endif
} // namespace pkpy

View File

@ -61,6 +61,10 @@ static dylib_entry_t load_dylib(const char* path){
} }
#endif #endif
#else
static dylib_entry_t load_dylib(const char* path){
return nullptr;
}
#endif #endif