@@ -28,6 +28,4 @@ struct FileIO {
static void _register(VM* vm, PyObject* mod, PyObject* type);
};
-#endif
-
-} // namespace pkpy
+#endif
@@ -61,6 +61,10 @@ static dylib_entry_t load_dylib(const char* path){
}
#endif
+#else
+static dylib_entry_t load_dylib(const char* path){
+ return nullptr;
+}