Bug 888658 - Assertions.h fixup for windows. r=jwalden
authorVladimir Vukicevic <vladimir>
Tue, 15 Oct 2013 09:07:00 +0200
changeset 151322 df958bc8af6d1855fb3ad8a74fc208fb129da79b
parent 151321 4d2eb79e83b32ce6f4774d456159da72448656a2
child 151323 1de6b6604c1100e81ee6e3ff1cd6a681b598b3fa
push id35137
push usertschneidereit@gmail.com
push dateFri, 18 Oct 2013 18:27:21 +0000
treeherdermozilla-inbound@1de6b6604c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwalden
bugs888658
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 888658 - Assertions.h fixup for windows. r=jwalden
mfbt/Assertions.h
--- a/mfbt/Assertions.h
+++ b/mfbt/Assertions.h
@@ -175,17 +175,17 @@ MOZ_ReportCrash(const char* s, const cha
     * by MSVC, so doing it this way reduces complexity.)
     */
 
 __declspec(noreturn) __inline void MOZ_NoReturn() {}
 
 #  ifdef __cplusplus
 #    define MOZ_REALLY_CRASH() \
        do { \
-         __debugbreak(); \
+         ::__debugbreak(); \
          *((volatile int*) NULL) = 123; \
          ::TerminateProcess(::GetCurrentProcess(), 3); \
          ::MOZ_NoReturn(); \
        } while (0)
 #  else
 #    define MOZ_REALLY_CRASH() \
        do { \
          __debugbreak(); \