Ignore:
Timestamp:
Nov 21, 2008, 11:07:01 AM (17 years ago)
Author:
[email protected]
Message:

Build fix.

  • wtf/Assertions.h: Use ::abort for C++ code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Assertions.h

    r38665 r38666  
    123123
    124124#ifndef CRASH
     125#ifdef __cplusplus
     126#define CRASH() do { \
     127    *(int *)(uintptr_t)0xbbadbeef = 0; \
     128    ::abort(); \
     129} while (false)
     130#else
    125131#define CRASH() do { \
    126132    *(int *)(uintptr_t)0xbbadbeef = 0; \
    127133    abort(); \
    128134} while (false)
     135#endif
    129136#endif
    130137
Note: See TracChangeset for help on using the changeset viewer.