diff --git a/libserialport_internal.h b/libserialport_internal.h index 031ffef..8ef8376 100644 --- a/libserialport_internal.h +++ b/libserialport_internal.h @@ -32,12 +32,13 @@ #include #include #ifdef _WIN32 -#include - #include #include #include #include +#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 #include #else