Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cpp/expressionsLib/inc/OscExprExportDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
# endif
#elif defined(__APPLE__)
# define OSC_EXPR_EXP
#elif defined(__EMSCRIPTEN__)
# define OSC_EXPR_EXP
#else
# error "OPENSCENARIOLIB: Operating system not supported."
#endif // _WIN32
2 changes: 2 additions & 0 deletions cpp/openScenarioLib/src/common/ExportDefinitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# endif
#elif defined(__APPLE__)
# define OPENSCENARIOLIB_EXP
#elif defined(__EMSCRIPTEN__)
# define OPENSCENARIOLIB_EXP
#else
# error "OPENSCENARIOLIB: Operating system not supported."
#endif // _WIN32
2 changes: 1 addition & 1 deletion cpp/openScenarioLib/src/loader/FileResourceLocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace NET_ASAM_OPENSCENARIO
}

auto infile = std::make_shared<std::ifstream>(result.c_str(), std::ios::binary);
#elif defined (__linux__) || defined (__APPLE__)
#elif defined (__linux__) || defined (__APPLE__) || defined (__EMSCRIPTEN__)
auto infile = std::make_shared<std::ifstream>(symbolicFilename, std::ios::binary);
#else
# error "Operating system not supported."
Expand Down
Loading