OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2010, 2011 Research In Motion Limited. 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 /* OS(ANDROID) - Android */ | 52 /* OS(ANDROID) - Android */ |
53 #ifdef ANDROID | 53 #ifdef ANDROID |
54 #define WTF_OS_ANDROID 1 | 54 #define WTF_OS_ANDROID 1 |
55 #endif | 55 #endif |
56 | 56 |
57 /* OS(DARWIN) - Any Darwin-based OS, including Mac OS X and iPhone OS */ | 57 /* OS(DARWIN) - Any Darwin-based OS, including Mac OS X and iPhone OS */ |
58 #ifdef __APPLE__ | 58 #ifdef __APPLE__ |
59 #define WTF_OS_DARWIN 1 | 59 #define WTF_OS_DARWIN 1 |
60 | 60 |
61 #include <Availability.h> | |
62 #include <AvailabilityMacros.h> | 61 #include <AvailabilityMacros.h> |
63 #include <TargetConditionals.h> | |
64 #endif | 62 #endif |
65 | 63 |
66 /* OS(FREEBSD) - FreeBSD */ | 64 /* OS(FREEBSD) - FreeBSD */ |
67 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__
) | 65 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__
) |
68 #define WTF_OS_FREEBSD 1 | 66 #define WTF_OS_FREEBSD 1 |
69 #endif | 67 #endif |
70 | 68 |
71 /* OS(HURD) - GNU/Hurd */ | 69 /* OS(HURD) - GNU/Hurd */ |
72 #ifdef __GNU__ | 70 #ifdef __GNU__ |
73 #define WTF_OS_HURD 1 | 71 #define WTF_OS_HURD 1 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 #endif /* OS(DARWIN) */ | 183 #endif /* OS(DARWIN) */ |
186 | 184 |
187 #if OS(WINDOWS) | 185 #if OS(WINDOWS) |
188 #define HAVE_SYS_TIMEB_H 1 | 186 #define HAVE_SYS_TIMEB_H 1 |
189 #define HAVE_ALIGNED_MALLOC 1 | 187 #define HAVE_ALIGNED_MALLOC 1 |
190 #define HAVE_ISDEBUGGERPRESENT 1 | 188 #define HAVE_ISDEBUGGERPRESENT 1 |
191 #define HAVE_VIRTUALALLOC 1 | 189 #define HAVE_VIRTUALALLOC 1 |
192 #endif | 190 #endif |
193 | 191 |
194 #endif /* WTF_Platform_h */ | 192 #endif /* WTF_Platform_h */ |
OLD | NEW |