mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 00:19:10 +08:00
3b8363dd8f
* Update to 3.4.3RC2 * Add control of AWS EC2 detection dependency * Use libtool's DLL_EXPORT for mingw * Move patches to vcpkg_from_github * Update to 3.4.3 * Update versions
14 lines
427 B
Diff
14 lines
427 B
Diff
diff --git a/gdal/port/cpl_port.h b/gdal/port/cpl_port.h
|
|
index 98805cf..a6a1846 100644
|
|
--- a/gdal/port/cpl_port.h
|
|
+++ b/gdal/port/cpl_port.h
|
|
@@ -343,7 +343,7 @@ typedef unsigned int GUIntptr_t;
|
|
#endif
|
|
|
|
#ifndef CPL_DLL
|
|
-#if defined(_MSC_VER) && !defined(CPL_DISABLE_DLL)
|
|
+#if defined(WIN32) && (!defined(CPL_DISABLE_DLL) || defined(DLL_EXPORT))
|
|
# ifdef GDAL_COMPILATION
|
|
# define CPL_DLL __declspec(dllexport)
|
|
# else
|