diff options
Diffstat (limited to 'chromium/base/win/atl.h')
-rw-r--r-- | chromium/base/win/atl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/base/win/atl.h b/chromium/base/win/atl.h index f87b7f1aeec..464438ed11c 100644 --- a/chromium/base/win/atl.h +++ b/chromium/base/win/atl.h @@ -1,6 +1,7 @@ // Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. + #ifndef BASE_WIN_ATL_H_ #define BASE_WIN_ATL_H_ @@ -9,10 +10,6 @@ // Undefine before windows header will make the poisonous defines #include "base/win/windows_undefines.inc" -#ifndef _ATL_NO_EXCEPTIONS -#define _ATL_NO_EXCEPTIONS -#endif - // atlwin.h relies on std::void_t, but libc++ doesn't define it unless // _LIBCPP_STD_VER > 14. Workaround this by manually defining it. #include <type_traits> @@ -23,6 +20,9 @@ using void_t = void; } #endif +// Declare our own exception thrower (atl_throw.h includes atldef.h). +#include "base/win/atl_throw.h" + #include <atlbase.h> #include <atlcom.h> #include <atlctl.h> |