From cb1d4ab359b2fbd5700d24640cfa9e35ccfe165e Mon Sep 17 00:00:00 2001 From: Cary R Date: Tue, 27 Nov 2012 09:16:38 -0800 Subject: [PATCH] Update fstapi.c from GTKWave to fix MinGW compile. --- vpi/fstapi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vpi/fstapi.c b/vpi/fstapi.c index 4fdb943f2..bac88f44c 100644 --- a/vpi/fstapi.c +++ b/vpi/fstapi.c @@ -84,8 +84,10 @@ void **JenkinsIns(void *base_i, unsigned char *mem, uint32_t length, uint32_t ha #ifdef __MINGW32__ #include -/* #define ftello ftell */ -/* #define fseeko fseek */ +#ifndef HAVE_FSEEKO +#define ftello ftell +#define fseeko fseek +#endif #endif