mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Convert defined(OS_XXX) to BUILDFLAG(IS_XXX) in libcef
See https://crbug.com/1234043 for background.
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
#include "base/compiler_specific.h"
|
||||
|
||||
// Enable deprecation warnings for MSVC and Clang. See http://crbug.com/585142.
|
||||
#if defined(OS_WIN)
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
#if defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic error "-Wdeprecated-declarations"
|
||||
@ -2555,7 +2555,7 @@ bool CefV8StackFrameImpl::IsConstructor() {
|
||||
}
|
||||
|
||||
// Enable deprecation warnings on Windows. See http://crbug.com/585142.
|
||||
#if defined(OS_WIN)
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
#if defined(__clang__)
|
||||
#pragma GCC diagnostic pop
|
||||
#else
|
||||
|
Reference in New Issue
Block a user