diff --git a/mozilla/xpcom/tests/TestCOMPtr.cpp b/mozilla/xpcom/tests/TestCOMPtr.cpp index 9d095a68e98..1d520f08f93 100644 --- a/mozilla/xpcom/tests/TestCOMPtr.cpp +++ b/mozilla/xpcom/tests/TestCOMPtr.cpp @@ -21,7 +21,7 @@ #include "nsCOMPtr.h" #include "nsISupports.h" -#ifndef NSCAP_NO_NEW_CASTS +#ifdef HAVE_CPP_NEW_CASTS #define STATIC_CAST(T,x) static_cast(x) #define REINTERPRET_CAST(T,x) reinterpret_cast(x) #else