Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: Source/wtf/Assertions.cpp

Issue 16963006: Include AvailabilityMacros.h only where it is used. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumMac.mm ('k') | Source/wtf/FastMalloc.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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"
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumMac.mm ('k') | Source/wtf/FastMalloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698