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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual memory, not to choose a GUI toolkit ==== */ | 50 virtual memory, not to choose a GUI toolkit ==== */ |
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 | |
61 #include <AvailabilityMacros.h> | |
62 #endif | 60 #endif |
63 | 61 |
64 /* OS(FREEBSD) - FreeBSD */ | 62 /* OS(FREEBSD) - FreeBSD */ |
65 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__
) | 63 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__
) |
66 #define WTF_OS_FREEBSD 1 | 64 #define WTF_OS_FREEBSD 1 |
67 #endif | 65 #endif |
68 | 66 |
69 /* OS(HURD) - GNU/Hurd */ | 67 /* OS(HURD) - GNU/Hurd */ |
70 #ifdef __GNU__ | 68 #ifdef __GNU__ |
71 #define WTF_OS_HURD 1 | 69 #define WTF_OS_HURD 1 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 #endif /* OS(DARWIN) */ | 175 #endif /* OS(DARWIN) */ |
178 | 176 |
179 #if OS(WINDOWS) | 177 #if OS(WINDOWS) |
180 #define HAVE_SYS_TIMEB_H 1 | 178 #define HAVE_SYS_TIMEB_H 1 |
181 #define HAVE_ALIGNED_MALLOC 1 | 179 #define HAVE_ALIGNED_MALLOC 1 |
182 #define HAVE_ISDEBUGGERPRESENT 1 | 180 #define HAVE_ISDEBUGGERPRESENT 1 |
183 #define HAVE_VIRTUALALLOC 1 | 181 #define HAVE_VIRTUALALLOC 1 |
184 #endif | 182 #endif |
185 | 183 |
186 #endif /* WTF_Platform_h */ | 184 #endif /* WTF_Platform_h */ |
OLD | NEW |