Ignore:
Timestamp:
Sep 1, 2006, 1:05:39 PM (19 years ago)
Author:
ap
Message:

2006-09-01 Nikolas Zimmermann <[email protected]>

Reviewed and landed by ap.

Fix build on Linux (C89 without gcc extensions enabled).

  • pcre/pcre_internal.h: Use C style comments.
  • wtf/Assertions.h: Use C style comments.
  • wtf/Platform.h: Use C style comments.
File:
1 edited

Legend:

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

    r15906 r16177  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
     1/* -*- mode: c++; c-basic-offset: 4 -*- */
    22/*
    33 * Copyright (C) 2003, 2006 Apple Computer, Inc.  All rights reserved.
     
    2828#define KXMLCORE_ASSERTIONS_H
    2929
    30 // no namespaces because this file has to be includable from C and Objective-C
     30/*
     31   no namespaces because this file has to be includable from C and Objective-C
    3132
    32 // Note, this file uses many GCC extensions, but it should be compatible with
    33 // C, Objective C, C++, and Objective C++.
     33  Note, this file uses many GCC extensions, but it should be compatible with
     34  C, Objective C, C++, and Objective C++.
    3435
    35 // For non-debug builds, everything is disabled by default.
    36 // Defining any of the symbols explicitly prevents this from having any effect.
     36   For non-debug builds, everything is disabled by default.
     37   Defining any of the symbols explicitly prevents this from having any effect.
     38*/
    3739
    3840#include "Platform.h"
     
    7072#endif
    7173
    72 // These helper functions are always declared, but not necessarily always defined if the corresponding function is disabled.
     74/* These helper functions are always declared, but not necessarily always defined if the corresponding function is disabled. */
    7375
    7476#ifdef __cplusplus
     
    9597#endif
    9698
    97 // CRASH -- gets us into the debugger or the crash reporter -- signals are ignored by the crash reporter so we must do better
     99/* CRASH -- gets us into the debugger or the crash reporter -- signals are ignored by the crash reporter so we must do better */
    98100
    99101#define CRASH() *(int *)(uintptr_t)0xbbadbeef = 0
    100102
    101 // ASSERT, ASSERT_WITH_MESSAGE, ASSERT_NOT_REACHED
     103/* ASSERT, ASSERT_WITH_MESSAGE, ASSERT_NOT_REACHED */
    102104
    103105#if PLATFORM(WIN_OS)
    104 // FIXME: Change to use something other than ASSERT to avoid this conflict with win32.
     106/* FIXME: Change to use something other than ASSERT to avoid this conflict with win32. */
    105107#undef ASSERT
    106108#endif
     
    133135#endif
    134136
    135 // ASSERT_ARG
     137/* ASSERT_ARG */
    136138
    137139#if ASSERT_ARG_DISABLED
     
    150152#endif
    151153
    152 // FATAL
     154/* FATAL */
    153155
    154156#if FATAL_DISABLED
     
    161163#endif
    162164
    163 // LOG_ERROR
     165/* LOG_ERROR */
    164166
    165167#if ERROR_DISABLED
     
    169171#endif
    170172
    171 // LOG
     173/* LOG */
    172174
    173175#if LOG_DISABLED
Note: See TracChangeset for help on using the changeset viewer.