diff --git a/tgt-vvp/vvp_process.c b/tgt-vvp/vvp_process.c index 14fba22e6..990b89d02 100644 --- a/tgt-vvp/vvp_process.c +++ b/tgt-vvp/vvp_process.c @@ -25,6 +25,10 @@ #endif # include +#ifdef __MINGW32__ /* MinGW has inconsistent %p output. */ +#define snprintf _snprintf +#endif + static int show_statement(ivl_statement_t net, ivl_scope_t sscope); unsigned local_count = 0;