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