| 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 * | 18 * |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 /* This prefix file is for use on Mac OS X only. This prefix file should contain | 21 /* This prefix file is for use on Mac OS X only. This prefix file should contain |
| 22 * only files to precompile for faster builds. The project should be able to | 22 * only files to precompile for faster builds. The project should be able to |
| 23 * build without this header, although we rarely test that. | 23 * build without this header, although we rarely test that. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include <fcntl.h> |
| 26 #include <pthread.h> | 27 #include <pthread.h> |
| 27 #include <sys/types.h> | |
| 28 #include <fcntl.h> | |
| 29 #include <regex.h> | 28 #include <regex.h> |
| 30 #include <setjmp.h> | 29 #include <setjmp.h> |
| 31 #include <signal.h> | 30 #include <signal.h> |
| 32 #include <stdarg.h> | 31 #include <stdarg.h> |
| 33 #include <stddef.h> | 32 #include <stddef.h> |
| 34 #include <stdio.h> | 33 #include <stdio.h> |
| 35 #include <stdlib.h> | 34 #include <stdlib.h> |
| 36 #include <string.h> | 35 #include <string.h> |
| 36 #include <sys/types.h> |
| 37 #include <time.h> | 37 #include <time.h> |
| 38 #include <unistd.h> | 38 #include <unistd.h> |
| 39 | 39 |
| 40 #ifdef __cplusplus | 40 #ifdef __cplusplus |
| 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 <CoreFoundation/CoreFoundation.h> |
| 47 #include <CoreServices/CoreServices.h> |
| 46 #include <sys/param.h> | 48 #include <sys/param.h> |
| 49 #include <sys/resource.h> |
| 47 #include <sys/stat.h> | 50 #include <sys/stat.h> |
| 48 #include <sys/time.h> | 51 #include <sys/time.h> |
| 49 #include <sys/resource.h> | |
| 50 #include <CoreFoundation/CoreFoundation.h> | |
| 51 #include <CoreServices/CoreServices.h> | |
| 52 | 52 |
| 53 #ifdef __OBJC__ | 53 #ifdef __OBJC__ |
| 54 #import <Cocoa/Cocoa.h> | 54 #import <Cocoa/Cocoa.h> |
| 55 | 55 |
| 56 /* When C++ exceptions are disabled, the C++ library defines |try| and |catch| | 56 /* When C++ exceptions are disabled, the C++ library defines |try| and |catch| |
| 57 * to allow C++ code that expects exceptions to build. These definitions | 57 * to allow C++ code that expects exceptions to build. These definitions |
| 58 * interfere with Objective-C++ uses of Objective-C exception handlers, which | 58 * interfere with Objective-C++ uses of Objective-C exception handlers, which |
| 59 * use |@try| and |@catch|. As a workaround, undefine these macros. */ | 59 * use |@try| and |@catch|. As a workaround, undefine these macros. */ |
| 60 #undef try | 60 #undef try |
| 61 #undef catch | 61 #undef catch |
| 62 #endif | 62 #endif |
| OLD | NEW |