Skip to content

Commit

Permalink
port-msc: this should fix the build, windows is next
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Dec 19, 2023
1 parent 3e5b618 commit 0a235d7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/tdme/tools/editor/tabviews/SceneEditorTabView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1450,11 +1450,10 @@ void SceneEditorTabView::runScene() {
Library* scriptLibrary = nullptr;

// load script library from libscriptlibrary.so
string scriptLibraryURI = editorView->getScreenController()->getProjectPath() + "/libscriptlibrary.so";
#if defined(_MSC_VER)
// TODO: next
#else
//
string scriptLibraryURI = editorView->getScreenController()->getProjectPath() + "/libscriptlibrary.so";
//
#if defined(__HAIKU__)
// TODO: fix me!!!
Expand Down Expand Up @@ -1634,7 +1633,11 @@ void SceneEditorTabView::shutdownScene() {
applicationClient = nullptr;
//
if (scriptLibraryHandle != nullptr) {
dlclose(scriptLibraryHandle);
#if defined(_MSC_VER)
// TODO: next
#else
dlclose(scriptLibraryHandle);
#endif
scriptLibraryHandle = nullptr;
}
}

0 comments on commit 0a235d7

Please sign in to comment.