vcpkg/ports/gts/fix-dllexport.patch
Robert Schumacher 053c82f8c7
[gts] Move to official upstream sources (#25034)
* [gts] Move to official upstream sources

* [gts] Rename src->SOURCE_PATH
2022-06-07 13:36:34 -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 0
# ifdef GTS_COMPILATION
# define GTS_C_VAR __declspec(dllexport)
# else /* not GTS_COMPILATION */