Another fix for msys CI
This commit is contained in:
parent
0b7bd36960
commit
b7292e0179
|
|
@ -232,7 +232,7 @@ void vpip_load_module(const char*name)
|
||||||
#if defined(__MINGW32__) || defined (__CYGWIN__)
|
#if defined(__MINGW32__) || defined (__CYGWIN__)
|
||||||
void*function = ivl_dlsym(dll, "vpip_set_callback");
|
void*function = ivl_dlsym(dll, "vpip_set_callback");
|
||||||
if (function) {
|
if (function) {
|
||||||
vpip_set_callback_t set_callback = static_cast<vpip_set_callback_t>(function);
|
vpip_set_callback_t set_callback = (vpip_set_callback_t)function;
|
||||||
if (!set_callback(&vpi_routines, vpip_routines_version)) {
|
if (!set_callback(&vpi_routines, vpip_routines_version)) {
|
||||||
fprintf(stderr, "Failed to link VPI module %s. Try rebuilding it with iverilog-vpi.\n", name);
|
fprintf(stderr, "Failed to link VPI module %s. Try rebuilding it with iverilog-vpi.\n", name);
|
||||||
ivl_dlclose(dll);
|
ivl_dlclose(dll);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue