diff options
Diffstat (limited to 'Source/bmalloc/bmalloc/Logging.h')
-rw-r--r-- | Source/bmalloc/bmalloc/Logging.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/bmalloc/bmalloc/Logging.h b/Source/bmalloc/bmalloc/Logging.h index 4f9f3e1a8..d92067bc0 100644 --- a/Source/bmalloc/bmalloc/Logging.h +++ b/Source/bmalloc/bmalloc/Logging.h @@ -23,13 +23,16 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef Logging_h -#define Logging_h +#pragma once + +#include "BPlatform.h" namespace bmalloc { void logVMFailure(); -} // namespace bmalloc +#if !BUSE(OS_LOG) +void reportAssertionFailureWithMessage(const char* file, int line, const char* function, const char* format, ...) BATTRIBUTE_PRINTF(4, 5); +#endif -#endif // Logging_h +} // namespace bmalloc |