vcpkg/ports/xapian/msvc-no-debug.diff
Kai Pastor 3880056be4
[baseline][libzim][xapian] Disable gtest, fix mingw and windows builds (#31383)
* [libzim] WIP

* Control gtest

* More fixes, test xapian

* [xapian] Fix windows and mingw

* dllexport

* Finish PR

* CI baseline

* [xapian] Update supports

* Fix arm64
2023-05-13 09:45:03 -07:00

14 lines
461 B
Diff

diff --git a/include/xapian/version_h.cc b/include/xapian/version_h.cc
index b36ae4d..c61e31a 100644
--- a/include/xapian/version_h.cc
+++ b/include/xapian/version_h.cc
@@ -75,7 +75,7 @@ const char * dummy[] = {
"#endif",
"#endif",
"",
-#elif defined _MSC_VER
+#elif 0
// When building the library with MSVC, generate preprocessor code to check
// that the same setting of _DEBUG is used for building applications as was
// used for building the library.