vcpkg/ports/gts/fix-dllexport_2.patch
Alexander Neumann 9b22b40c6c
[gts] fix build with clang-cl (#26184)
* gts fix dllexport definitions.

* v db

* Revert trailing whitespace addition.

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-08-06 00:16:14 -07:00

14 lines
358 B
Diff

diff --git a/src/gts.h b/src/gts.h
index 1b76915..ae1d888 100644
--- a/src/gts.h
+++ b/src/gts.h
@@ -38,7 +38,7 @@ extern "C" {
* we prefix variable declarations so they can
* properly get exported in windows dlls.
*/
-#ifdef NATIVE_WIN32
+#if 1
# ifdef GTS_COMPILATION
# define GTS_C_VAR __declspec(dllexport)
# else /* not GTS_COMPILATION */