1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

Windows: Fix non-C++14-compatible noexcept usage in mapi.h

This commit is contained in:
reuk 2022-02-17 14:11:38 +00:00
parent abfcdc9a7e
commit 7eee7cd892
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -154,7 +154,18 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#include <iphlpapi.h>
#if ! JUCE_CXX17_IS_AVAILABLE
#pragma push_macro ("WIN_NOEXCEPT")
#define WIN_NOEXCEPT
#endif
#include <mapi.h>
#if ! JUCE_CXX17_IS_AVAILABLE
#pragma pop_macro ("WIN_NOEXCEPT")
#endif
#include <float.h>
#include <process.h>
#include <shlobj.h>