vcpkg/ports/wxwidgets/fix_include.patch
Alexander Neumann b1fbc2e525
[wxWidgets] Fix build with clang-cl (#28744)
* [wxWidgets] change include for clang-cl

* v db
2023-01-07 01:13:32 -08:00

14 lines
491 B
Diff

diff --git a/src/stc/scintilla/include/Scintilla.h b/src/stc/scintilla/include/Scintilla.h
index 8c57520e1..54ffb27d2 100644
--- a/src/stc/scintilla/include/Scintilla.h
+++ b/src/stc/scintilla/include/Scintilla.h
@@ -27,7 +27,7 @@ int Scintilla_LinkLexers(void);
#endif
// Include header that defines basic numeric types.
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && !defined(__clang__)
// Older releases of MSVC did not have stdint.h.
#include <stddef.h>
#elif defined( __VMS )