Fix MinGW to us _snprintf in tgt-vvp/vvp_process.c

We need consistent pointer output (%p) and under MinGW we need to
us _snprintf instead of snprintf to get this. The recent event
control addition missed this. This has been reported to the MinGW
developers and they are working on a solution.
This commit is contained in:
Cary R 2008-09-17 10:44:29 -07:00 committed by Stephen Williams
parent 2a1608c075
commit 3ba9e945d7
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@
#endif
# include <stdlib.h>
#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;