From 6bc6e58d3b3e09beadb39922aff18726bba9ebfe Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Fri, 31 Oct 2014 22:34:45 +0100 Subject: [PATCH] Fix a redefinition warning for the ERROR macro. See commit 113d2e4706698f7086e5499282ec958aa2de044f for more details. --- src/suunto_eonsteel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/suunto_eonsteel.c b/src/suunto_eonsteel.c index 9260950..0c662c6 100644 --- a/src/suunto_eonsteel.c +++ b/src/suunto_eonsteel.c @@ -41,6 +41,10 @@ #ifdef HAVE_LIBUSB +#ifdef _WIN32 +#define NOGDI +#endif + #include typedef struct suunto_eonsteel_device_t {