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

Side by Side Diff: third_party/WebKit/Source/build/mac/Prefix.h

Issue 2800343002: Remove CoreServices.h from Blink's precompiled headers on Mac (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | no next file » | 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) 2004, 2005, 2006, 2007, 2013 Apple Inc. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2013 Apple Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 30 matching lines...) Expand all
41 #include <algorithm> 41 #include <algorithm>
42 #include <cstddef> 42 #include <cstddef>
43 #include <new> 43 #include <new>
44 #endif // __cplusplus 44 #endif // __cplusplus
45 45
46 #include <sys/param.h> 46 #include <sys/param.h>
47 #include <sys/stat.h> 47 #include <sys/stat.h>
48 #include <sys/time.h> 48 #include <sys/time.h>
49 #include <sys/resource.h> 49 #include <sys/resource.h>
50 #include <CoreFoundation/CoreFoundation.h> 50 #include <CoreFoundation/CoreFoundation.h>
51 #include <CoreServices/CoreServices.h>
52 51
53 #ifdef __OBJC__ 52 #ifdef __OBJC__
54 #import <Cocoa/Cocoa.h> 53 #import <Cocoa/Cocoa.h>
55 54
56 /* When C++ exceptions are disabled, the C++ library defines |try| and |catch| 55 /* When C++ exceptions are disabled, the C++ library defines |try| and |catch|
57 * to allow C++ code that expects exceptions to build. These definitions 56 * to allow C++ code that expects exceptions to build. These definitions
58 * interfere with Objective-C++ uses of Objective-C exception handlers, which 57 * interfere with Objective-C++ uses of Objective-C exception handlers, which
59 * use |@try| and |@catch|. As a workaround, undefine these macros. */ 58 * use |@try| and |@catch|. As a workaround, undefine these macros. */
60 #undef try 59 #undef try
61 #undef catch 60 #undef catch
62 #endif 61 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698