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
2020-08-03 11:51:59 +02:00
2012-06-21 21:39:24 +02:00
2017-08-18 23:26:45 +02:00
2017-08-18 23:26:45 +02:00
2020-08-20 15:29:15 +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-08-03 11:51:59 +02:00
2018-01-30 22:00:41 +01:00
2017-08-18 23:26:45 +02:00
2020-01-06 13:44:07 +01:00
2018-02-04 21:21:42 +01:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2019-04-13 11:37:15 +02:00
2017-08-18 23:26:45 +02:00
2018-03-05 08:44:14 +01:00