Fix to allow build in VS2019

This commit is contained in:
Yue JIN 2020-07-01 15:20:55 +08:00
parent 4ce7df9f54
commit 10889172ce
3 changed files with 15 additions and 1 deletions

View file

@ -386,7 +386,12 @@ void load_custom_source_library()
void close_custom_source_library()
{
#ifdef HAS_DYNAMIC_LINKING
dlclose(custom_source_library);
#else
fatal_error("Custom source libraries have not yet been implemented for "
"non-POSIX systems");
#endif
}
Particle::Bank sample_custom_source_library(uint64_t* seed)