mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 06:59:00 +08:00
4990d2b951
* Remove obsolete GDAL_VERSION_LIB * Build mingw with configure/make * Rearrange CONF_OPTS, expose tiff dependency * Revise linkage configuration * Rearrange GDAL_PATCHES * Put optional drivers into non-default feature * Fix gdal build * Update vcpkg.json * Re-enable netcdf support * Revise cmake wrapper * Final portfile cleanup * Remove curl osx system dependencies * Verify configuration results before building * Update and revise configure.ac patch * Fix dllexport for mingw-dynamic * Fix pc file * Add dependencies to cmake wrapper * Increment port-version * x-add-version * Fix typo * Update git-tree * strega-nil CRs Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
14 lines
382 B
Diff
14 lines
382 B
Diff
diff --git a/port/cpl_port.h b/port/cpl_port.h
|
|
index 9e3ebbb..130af04 100644
|
|
--- a/port/cpl_port.h
|
|
+++ b/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
|