diff --git a/src/libCom/misc/shareLib.h b/src/libCom/misc/shareLib.h index b5882f497..ba23b282f 100644 --- a/src/libCom/misc/shareLib.h +++ b/src/libCom/misc/shareLib.h @@ -113,7 +113,7 @@ * Also check for "EPICS_DLL_NO" not defined so that we will not use these * keywords if it is an object library build of base under WIN32. */ -#if (defined(_WIN32) && !defined(__GNUC__)) || defined(_MINGW) +#if defined(_WIN32) || defined(__CYGWIN32__) # if defined(epicsExportSharedSymbols) # if defined(EPICS_DLL_NO) /* this indicates that we are not building a DLL */