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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 #define WTF_USE_CF 1 | 126 #define WTF_USE_CF 1 |
127 | 127 |
128 /* We can't override the global operator new and delete on OS(DARWIN) because | 128 /* We can't override the global operator new and delete on OS(DARWIN) because |
129 * some object are allocated by WebKit and deallocated by the embedder. */ | 129 * some object are allocated by WebKit and deallocated by the embedder. */ |
130 #else /* !OS(DARWIN) */ | 130 #else /* !OS(DARWIN) */ |
131 /* On non-OS(DARWIN), the "system malloc" is actually TCMalloc anyway, so there'
s | 131 /* On non-OS(DARWIN), the "system malloc" is actually TCMalloc anyway, so there'
s |
132 * no need to use WebKit's copy of TCMalloc. */ | 132 * no need to use WebKit's copy of TCMalloc. */ |
133 #define WTF_USE_SYSTEM_MALLOC 1 | 133 #define WTF_USE_SYSTEM_MALLOC 1 |
134 #endif /* OS(DARWIN) */ | 134 #endif /* OS(DARWIN) */ |
135 | 135 |
136 #if OS(DARWIN) | |
137 #define ENABLE_PURGEABLE_MEMORY 1 | |
138 #endif /* OS(DARWIN) */ | |
139 | |
140 #if !defined(HAVE_ACCESSIBILITY) | 136 #if !defined(HAVE_ACCESSIBILITY) |
141 #if !OS(ANDROID) | 137 #if !OS(ANDROID) |
142 #define HAVE_ACCESSIBILITY 1 | 138 #define HAVE_ACCESSIBILITY 1 |
143 #endif | 139 #endif |
144 #endif /* !defined(HAVE_ACCESSIBILITY) */ | 140 #endif /* !defined(HAVE_ACCESSIBILITY) */ |
145 | 141 |
146 #if OS(UNIX) | 142 #if OS(UNIX) |
147 #define HAVE_ERRNO_H 1 | 143 #define HAVE_ERRNO_H 1 |
148 #define HAVE_MMAP 1 | 144 #define HAVE_MMAP 1 |
149 #define HAVE_SIGNAL_H 1 | 145 #define HAVE_SIGNAL_H 1 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 #endif /* OS(DARWIN) */ | 179 #endif /* OS(DARWIN) */ |
184 | 180 |
185 #if OS(WINDOWS) | 181 #if OS(WINDOWS) |
186 #define HAVE_SYS_TIMEB_H 1 | 182 #define HAVE_SYS_TIMEB_H 1 |
187 #define HAVE_ALIGNED_MALLOC 1 | 183 #define HAVE_ALIGNED_MALLOC 1 |
188 #define HAVE_ISDEBUGGERPRESENT 1 | 184 #define HAVE_ISDEBUGGERPRESENT 1 |
189 #define HAVE_VIRTUALALLOC 1 | 185 #define HAVE_VIRTUALALLOC 1 |
190 #endif | 186 #endif |
191 | 187 |
192 #endif /* WTF_Platform_h */ | 188 #endif /* WTF_Platform_h */ |
OLD | NEW |