Switch from phased-out MIDL_PASS to __midl

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2024-03-11 15:56:24 +01:00
parent be1874cc8c
commit 79ec083650

View File

@ -26,7 +26,7 @@
#define wxExtendVersion "15" ///< wxExtend API Version #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. #define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h.
#include <Windows.h> #include <Windows.h>
@ -167,7 +167,7 @@ inline bool wxInitializeLocale(wxLocale &locale, wxLanguage *language = NULL)
return false; return false;
} }
#endif // !defined(RC_INVOKED) && !defined(MIDL_PASS) #endif // !defined(RC_INVOKED) && !defined(__midl)
/// @} /// @}