Jef Driesen
7a4c5e919f
Fix a conflict with the Windows header files
...
In one of the Windows system header files, an "interface" macro is
defined as:
#define interface struct
This results in some very strange build errors when also including the
descriptor-private.h header file. That's because the dc_usb_params_t
struct has a member field named "interface":
typedef struct dc_usb_params_t {
unsigned int interface;
unsigned char endpoint_in;
unsigned char endpoint_out;
} dc_usb_params_t;
As a workaround, define the WIN32_LEAN_AND_MEAN macro before including
the windows.h header file. This excludes some less common Windows API
declarations, including the above one.
2020-08-21 23:56:52 +02:00
..
2019-06-21 16:13:27 +02:00
2019-06-21 16:13:27 +02:00
2018-12-05 10:21:09 +01:00
2017-07-05 13:11:33 +02:00
2017-11-30 09:03:46 +01:00
2020-08-11 15:16:36 +02:00
2020-08-11 15:16:36 +02:00
2020-08-03 11:51:59 +02:00
2012-06-21 21:39:24 +02:00
2020-07-09 17:02:32 +02:00
2020-07-09 17:02:32 +02:00
2017-08-18 23:26:45 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2018-01-30 21:20:53 +01:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2016-01-05 20:40:21 +01:00
2016-01-05 20:40:21 +01:00
2015-11-06 07:52:27 +01:00
2020-08-21 23:56:52 +02:00
2017-08-18 23:26:45 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2020-02-13 11:07:24 +01:00
2019-01-14 21:14:30 +01:00
2019-01-14 21:14:30 +01:00
2017-08-18 23:26:45 +02:00
2019-01-08 15:20:05 +01:00
2018-04-03 21:11:06 +02:00
2020-01-06 21:24:58 +01:00
2017-08-18 23:26:45 +02:00
2020-08-11 15:16:36 +02:00
2020-08-11 15:16:36 +02:00
2017-08-18 23:17:33 +02:00
2020-08-11 15:16:36 +02:00
2018-03-09 21:35:51 +01:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2020-02-28 00:14:31 +01:00
2019-11-14 09:43:35 +01:00
2019-11-14 09:43:35 +01:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2020-08-20 15:29:15 +02:00
2018-04-03 21:11:06 +02:00
2020-06-03 14:08:02 +02:00
2018-04-03 21:11:06 +02:00
2019-11-21 11:07:07 +01:00
2014-03-14 09:44:10 +01:00
2013-08-22 09:15:55 +02:00
2020-01-06 21:24:58 +01:00
2020-01-06 21:24:58 +01:00
2020-08-03 11:51:59 +02:00
2018-01-30 22:00:41 +01:00
2018-01-30 22:00:41 +01:00
2012-12-27 22:00:35 +01:00
2020-08-11 15:16:36 +02:00
2020-07-09 17:02:32 +02:00
2020-07-09 17:02:32 +02:00
2020-07-09 17:02:32 +02:00
2020-08-11 15:16:36 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2017-08-18 23:26:45 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2019-06-26 15:29:56 +02:00
2019-12-28 10:30:37 +01:00
2018-04-03 21:11:06 +02:00
2017-08-18 23:26:45 +02:00
2020-01-06 13:44:07 +01:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2020-06-08 13:45:43 +02:00
2020-06-08 13:45:43 +02:00
2020-06-08 13:45:43 +02:00
2020-06-19 11:47:46 +02:00
2020-06-19 11:47:46 +02:00
2018-04-03 21:11:06 +02:00
2020-02-24 09:21:33 +01:00
2018-07-20 10:18:49 +02:00
2017-09-12 22:34:55 +02:00
2018-10-02 20:40:27 +02:00
2018-04-03 21:11:06 +02:00
2020-01-28 10:59:22 +01:00
2018-10-02 20:40:27 +02:00
2018-04-03 21:11:06 +02:00
2016-01-05 20:40:21 +01:00
2020-07-09 17:02:32 +02:00
2018-02-04 21:21:42 +01:00
2017-02-16 20:34:09 +01:00
2017-02-16 20:34:09 +01:00
2017-04-18 08:41:10 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2017-04-18 08:41:10 +02:00
2019-01-08 15:20:05 +01:00
2018-04-03 21:11:06 +02:00
2017-04-18 08:41:10 +02:00
2019-01-08 15:20:05 +01:00
2018-04-03 21:11:06 +02:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2020-08-03 11:51:59 +02:00
2020-08-21 23:56:52 +02:00
2018-04-03 21:52:20 +02:00
2018-12-20 13:45:32 +01:00
2018-12-20 13:45:32 +01:00
2018-04-03 21:11:06 +02:00
2019-10-22 20:58:50 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2020-01-06 21:21:50 +01:00
2020-08-21 23:56:52 +02:00
2018-11-11 20:55:38 +01:00
2016-01-05 20:40:21 +01:00
2016-01-05 20:40:21 +01:00
2016-01-05 20:40:21 +01:00
2019-04-13 11:37:15 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2017-08-18 23:26:45 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2019-05-24 11:14:13 +02:00
2020-06-08 13:38:45 +02:00
2018-04-03 21:11:06 +02:00
2017-04-18 08:41:10 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2017-08-18 23:26:45 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2018-06-22 23:24:30 +02:00
2020-06-08 13:45:43 +02:00
2018-06-22 23:24:30 +02:00
2020-08-21 23:56:52 +02:00
2018-03-05 08:44:14 +01:00
2020-08-21 23:56:52 +02:00
2020-08-21 23:56:52 +02:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00
2017-04-18 08:41:10 +02:00
2020-01-06 13:44:07 +01:00
2018-04-03 21:11:06 +02:00
2020-02-04 08:41:55 +01:00
2020-08-03 11:48:33 +02:00
2018-04-03 21:11:06 +02:00
2012-12-27 22:00:35 +01:00
2018-04-03 21:11:06 +02:00
2018-04-03 21:11:06 +02:00