| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |