mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
windows: Fix compile issues with multiply or not defined GUIDs.
This fixes bug #416.
This commit is contained in:
parent
6c444ade55
commit
78940e6921
@ -32,12 +32,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#ifdef _WIN32
|
||||
#include <initguid.h>
|
||||
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <setupapi.h>
|
||||
#include <cfgmgr32.h>
|
||||
#undef DEFINE_GUID
|
||||
#define DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
|
||||
static const GUID name = { l,w1,w2,{ b1,b2,b3,b4,b5,b6,b7,b8 } }
|
||||
#include <usbioctl.h>
|
||||
#include <usbiodef.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user