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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 /* On non-OS(DARWIN), the "system malloc" is actually TCMalloc anyway, so there'
s | 129 /* On non-OS(DARWIN), the "system malloc" is actually TCMalloc anyway, so there'
s |
130 * no need to use WebKit's copy of TCMalloc. */ | 130 * no need to use WebKit's copy of TCMalloc. */ |
131 #define WTF_USE_SYSTEM_MALLOC 1 | 131 #define WTF_USE_SYSTEM_MALLOC 1 |
132 #endif /* OS(DARWIN) */ | 132 #endif /* OS(DARWIN) */ |
133 | 133 |
134 #if !defined(HAVE_ACCESSIBILITY) | 134 #if !defined(HAVE_ACCESSIBILITY) |
135 #define HAVE_ACCESSIBILITY 1 | 135 #define HAVE_ACCESSIBILITY 1 |
136 #endif /* !defined(HAVE_ACCESSIBILITY) */ | 136 #endif /* !defined(HAVE_ACCESSIBILITY) */ |
137 | 137 |
138 #if OS(UNIX) | 138 #if OS(UNIX) |
139 #define HAVE_ERRNO_H 1 | |
140 #define HAVE_MMAP 1 | 139 #define HAVE_MMAP 1 |
141 #define HAVE_SIGNAL_H 1 | 140 #define HAVE_SIGNAL_H 1 |
142 #define HAVE_STRINGS_H 1 | 141 #define HAVE_STRINGS_H 1 |
143 #define HAVE_SYS_TIME_H 1 | 142 #define HAVE_SYS_TIME_H 1 |
144 #define WTF_USE_PTHREADS 1 | 143 #define WTF_USE_PTHREADS 1 |
145 #endif /* OS(UNIX) */ | 144 #endif /* OS(UNIX) */ |
146 | 145 |
147 #if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__) | 146 #if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__) |
148 #define HAVE_PTHREAD_NP_H 1 | 147 #define HAVE_PTHREAD_NP_H 1 |
149 #endif | 148 #endif |
(...skipping 25 matching lines...) Expand all Loading... |
175 #endif /* OS(DARWIN) */ | 174 #endif /* OS(DARWIN) */ |
176 | 175 |
177 #if OS(WINDOWS) | 176 #if OS(WINDOWS) |
178 #define HAVE_SYS_TIMEB_H 1 | 177 #define HAVE_SYS_TIMEB_H 1 |
179 #define HAVE_ALIGNED_MALLOC 1 | 178 #define HAVE_ALIGNED_MALLOC 1 |
180 #define HAVE_ISDEBUGGERPRESENT 1 | 179 #define HAVE_ISDEBUGGERPRESENT 1 |
181 #define HAVE_VIRTUALALLOC 1 | 180 #define HAVE_VIRTUALALLOC 1 |
182 #endif | 181 #endif |
183 | 182 |
184 #endif /* WTF_Platform_h */ | 183 #endif /* WTF_Platform_h */ |
OLD | NEW |