| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
| 4 * Copyright (C) 2011 University of Szeged. All rights reserved. | 4 * Copyright (C) 2011 University of Szeged. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 #include <stdio.h> | 40 #include <stdio.h> |
| 41 #include <stdarg.h> | 41 #include <stdarg.h> |
| 42 #include <string.h> | 42 #include <string.h> |
| 43 | 43 |
| 44 #if HAVE(SIGNAL_H) | 44 #if HAVE(SIGNAL_H) |
| 45 #include <signal.h> | 45 #include <signal.h> |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 #if USE(CF) | 48 #if USE(CF) |
| 49 #include <AvailabilityMacros.h> |
| 49 #include <CoreFoundation/CFString.h> | 50 #include <CoreFoundation/CFString.h> |
| 50 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 | 51 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 |
| 51 #define WTF_USE_APPLE_SYSTEM_LOG 1 | 52 #define WTF_USE_APPLE_SYSTEM_LOG 1 |
| 52 #include <asl.h> | 53 #include <asl.h> |
| 53 #endif | 54 #endif |
| 54 #endif // USE(CF) | 55 #endif // USE(CF) |
| 55 | 56 |
| 56 #if COMPILER(MSVC) | 57 #if COMPILER(MSVC) |
| 57 #include <crtdbg.h> | 58 #include <crtdbg.h> |
| 58 #endif | 59 #endif |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 375 |
| 375 void WTFLogAlways(const char* format, ...) | 376 void WTFLogAlways(const char* format, ...) |
| 376 { | 377 { |
| 377 va_list args; | 378 va_list args; |
| 378 va_start(args, format); | 379 va_start(args, format); |
| 379 vprintf_stderr_with_trailing_newline(format, args); | 380 vprintf_stderr_with_trailing_newline(format, args); |
| 380 va_end(args); | 381 va_end(args); |
| 381 } | 382 } |
| 382 | 383 |
| 383 } // extern "C" | 384 } // extern "C" |
| OLD | NEW |