From 79ec08365068ab6e03b06caef13de0ce6b06fcd5 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 11 Mar 2024 15:56:24 +0100 Subject: [PATCH] Switch from phased-out MIDL_PASS to __midl Signed-off-by: Simon Rozman --- include/wxex/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wxex/common.h b/include/wxex/common.h index 7de013b..b3d92f5 100644 --- a/include/wxex/common.h +++ b/include/wxex/common.h @@ -26,7 +26,7 @@ #define wxExtendVersion "15" ///< wxExtend API Version -#if !defined(RC_INVOKED) && !defined(MIDL_PASS) +#if !defined(RC_INVOKED) && !defined(__midl) #define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h. #include @@ -167,7 +167,7 @@ inline bool wxInitializeLocale(wxLocale &locale, wxLanguage *language = NULL) return false; } -#endif // !defined(RC_INVOKED) && !defined(MIDL_PASS) +#endif // !defined(RC_INVOKED) && !defined(__midl) /// @}