Update fstapi.c from GTKWave to fix MinGW compile.

This commit is contained in:
Cary R 2012-11-27 09:16:38 -08:00
parent 397054d5fc
commit cb1d4ab359
1 changed files with 4 additions and 2 deletions

View File

@ -84,8 +84,10 @@ void **JenkinsIns(void *base_i, unsigned char *mem, uint32_t length, uint32_t ha
#ifdef __MINGW32__
#include <io.h>
/* #define ftello ftell */
/* #define fseeko fseek */
#ifndef HAVE_FSEEKO
#define ftello ftell
#define fseeko fseek
#endif
#endif