diff options
author | Justin Kerk <dopefishjustin@gmail.com> | 2018-03-06 03:12:21 +0000 |
---|---|---|
committer | Justin Kerk <dopefishjustin@gmail.com> | 2018-03-06 03:12:21 +0000 |
commit | 0e77f9c540f02130f84a2d124598077ef8cf5492 (patch) | |
tree | 42299b46ddfeaf1688e13e4970a4bf6151287282 | |
parent | 6b4ad9d72241a57c2b098db458bfc80d54f0fa63 (diff) |
Fixed issue causing drivers using netlists to fail on the Emscripten target. [Justin Kerk]
-rw-r--r-- | src/lib/netlist/plib/pdynlib.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/netlist/plib/pdynlib.cpp b/src/lib/netlist/plib/pdynlib.cpp index 92f79f27702..13827eaf24c 100644 --- a/src/lib/netlist/plib/pdynlib.cpp +++ b/src/lib/netlist/plib/pdynlib.cpp @@ -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 != "") |