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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 /* OS(HURD) - GNU/Hurd */ | 67 /* OS(HURD) - GNU/Hurd */ |
68 #ifdef __GNU__ | 68 #ifdef __GNU__ |
69 #define WTF_OS_HURD 1 | 69 #define WTF_OS_HURD 1 |
70 #endif | 70 #endif |
71 | 71 |
72 /* OS(LINUX) - Linux */ | 72 /* OS(LINUX) - Linux */ |
73 #ifdef __linux__ | 73 #ifdef __linux__ |
74 #define WTF_OS_LINUX 1 | 74 #define WTF_OS_LINUX 1 |
75 #endif | 75 #endif |
76 | 76 |
| 77 /* OS(OS_NACL) - Native Client */ |
| 78 #ifdef __native_client__ |
| 79 #define WTF_OS_NACL 1 |
| 80 #endif |
| 81 |
77 /* OS(NETBSD) - NetBSD */ | 82 /* OS(NETBSD) - NetBSD */ |
78 #if defined(__NetBSD__) | 83 #if defined(__NetBSD__) |
79 #define WTF_OS_NETBSD 1 | 84 #define WTF_OS_NETBSD 1 |
80 #endif | 85 #endif |
81 | 86 |
82 /* OS(OPENBSD) - OpenBSD */ | 87 /* OS(OPENBSD) - OpenBSD */ |
83 #ifdef __OpenBSD__ | 88 #ifdef __OpenBSD__ |
84 #define WTF_OS_OPENBSD 1 | 89 #define WTF_OS_OPENBSD 1 |
85 #endif | 90 #endif |
86 | 91 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 #endif /* OS(DARWIN) */ | 180 #endif /* OS(DARWIN) */ |
176 | 181 |
177 #if OS(WINDOWS) | 182 #if OS(WINDOWS) |
178 #define HAVE_SYS_TIMEB_H 1 | 183 #define HAVE_SYS_TIMEB_H 1 |
179 #define HAVE_ALIGNED_MALLOC 1 | 184 #define HAVE_ALIGNED_MALLOC 1 |
180 #define HAVE_ISDEBUGGERPRESENT 1 | 185 #define HAVE_ISDEBUGGERPRESENT 1 |
181 #define HAVE_VIRTUALALLOC 1 | 186 #define HAVE_VIRTUALALLOC 1 |
182 #endif | 187 #endif |
183 | 188 |
184 #endif /* WTF_Platform_h */ | 189 #endif /* WTF_Platform_h */ |
OLD | NEW |