mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 18:41:37 +08:00
e10f7850fe
* Update gdal to 3.3.2, switch to github * Don't use absl::string_view * Update versions * [skip actions] CI * Mingw needs json-c * Update versions
14 lines
402 B
Diff
14 lines
402 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)
|
|
# ifdef GDAL_COMPILATION
|
|
# define CPL_DLL __declspec(dllexport)
|
|
# else
|