From 6e65d1e7317020f2bb476c4e09f952e863321179 Mon Sep 17 00:00:00 2001 From: David Betz Date: Sun, 8 Mar 2015 10:49:44 -0400 Subject: [PATCH] Add a missing #ifdef to try to fix the build under Qt's hacked version of the MinGW tools. --- enumcom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/enumcom.c b/enumcom.c index 29ca0d3..1009090 100644 --- a/enumcom.c +++ b/enumcom.c @@ -39,7 +39,9 @@ #include #include +#ifndef GUID_DEVINTERFACE_COMPORT DEFINE_GUID(GUID_DEVINTERFACE_COMPORT, 0x86e0d1e0L, 0x8089, 0x11d0, 0x9c, 0xe4, 0x08, 0x00, 0x3e, 0x30, 0x1f, 0x73); +#endif #ifdef MAIN int CheckPort(const char* port, void* data)