This fixes the following compiler error.
In file included from ../libsidplayfp-2.6.0/src/builders/exsid-builder/driver/exSID_ftdiwrap.c:42:
/ucrt64/include/libftdi1/ftdi.h:481:20: error: field 'time' has incomplete type
481 | struct timeval time;
| ^~~~
12 lines
165 B
Diff
12 lines
165 B
Diff
--- a/src/ftdi.h
|
|
+++ b/src/ftdi.h
|
|
@@ -19,7 +19,7 @@
|
|
#define __libftdi_h__
|
|
|
|
#include <stdint.h>
|
|
-#ifndef _WIN32
|
|
+#ifndef _MSC_VER
|
|
#include <sys/time.h>
|
|
#endif
|
|
|