mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 05:26:09 +00:00
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:
parent
b843d02a1b
commit
2f045752d5
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user