helper-fuzzer-demarshallers: Provide replacement for ftello for MSVC

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
Frediano Ziglio 2020-06-26 11:00:47 +01:00
parent b843d02a1b
commit 2f045752d5

View File

@ -38,6 +38,11 @@
#include <common/demarshallers.h>
#ifdef _MSC_VER
typedef __int64 off_t;
#define ftello(f) _ftelli64((f))
#endif
typedef uint8_t *
spice_parse_t(uint8_t *message_start, uint8_t *message_end,
uint32_t channel, uint16_t message_type, SPICE_GNUC_UNUSED int minor,