Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: ppapi/api/pp_macros.idl

Issue 10824325: don't use COMPILER_MSVC in pp_macros.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/c/pp_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/pp_macros.idl
diff --git a/ppapi/api/pp_macros.idl b/ppapi/api/pp_macros.idl
index 9d890b83fe011ecd039bd7fbcdb8992b29621796..79545395cf0268fc5ec58e964f8dacb0af6c801e 100644
--- a/ppapi/api/pp_macros.idl
+++ b/ppapi/api/pp_macros.idl
@@ -92,7 +92,7 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, enum NAME, SIZE)
Foo::Foo(MyInstance* instance)
: PP_ALLOW_THIS_IN_INITIALIZER_LIST(callback_factory_(this)) {}
*/
-#if defined(COMPILER_MSVC)
+#if defined(_MSC_VER)
# define PP_ALLOW_THIS_IN_INITIALIZER_LIST(code) \
__pragma(warning(push)) \
__pragma(warning(disable:4355)) \
« no previous file with comments | « no previous file | ppapi/c/pp_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698