From 4d76d215c6cdfc77a4c8caba05639b75124e9cb8 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Wed, 22 May 2013 22:49:29 +0200 Subject: [PATCH] Try to fix MinGW compilation (EXTERN to nop) --- src/modbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modbus.h b/src/modbus.h index 33a46f9..c5eb1ff 100644 --- a/src/modbus.h +++ b/src/modbus.h @@ -34,7 +34,7 @@ #include "modbus-version.h" -#if defined(_WIN32) +#if defined(_MSC_VER) # if defined(DLLBUILD) /* define DLLBUILD when building the DLL */ # define EXPORT __declspec(dllexport) -- libgit2 0.21.4