Fixed issue causing drivers using netlists to fail on the Emscripten target. [Justin Kerk]

This commit is contained in:
Justin Kerk 2018-03-06 03:12:21 +00:00
parent 6b4ad9d722
commit 0e77f9c540

View File

@ -73,6 +73,8 @@ dynlib::dynlib(const pstring libname)
//else
// fprintf(stderr, "win: library <%s> not found!\n", libname.c_str());
pfree_array(buffer);
#elif defined(EMSCRIPTEN)
//no-op
#else
//printf("loading <%s>\n", libname.c_str());
if (libname != "")
@ -103,6 +105,8 @@ dynlib::dynlib(const pstring path, const pstring libname)
//printf("win: library <%s> not found!\n", libname.c_str());
}
pfree_array(buffer);
#elif defined(EMSCRIPTEN)
//no-op
#else
//printf("loading <%s>\n", libname.c_str());
if (libname != "")