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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_MMAP 1 | 139 #define HAVE_MMAP 1 |
140 #define HAVE_SIGNAL_H 1 | 140 #define HAVE_SIGNAL_H 1 |
141 #define HAVE_STRINGS_H 1 | |
142 #define HAVE_SYS_TIME_H 1 | 141 #define HAVE_SYS_TIME_H 1 |
143 #define WTF_USE_PTHREADS 1 | 142 #define WTF_USE_PTHREADS 1 |
144 #endif /* OS(UNIX) */ | 143 #endif /* OS(UNIX) */ |
145 | 144 |
146 #if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__) | 145 #if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__) |
147 #define HAVE_PTHREAD_NP_H 1 | 146 #define HAVE_PTHREAD_NP_H 1 |
148 #endif | 147 #endif |
149 | 148 |
150 #if !defined(HAVE_VASPRINTF) | 149 #if !defined(HAVE_VASPRINTF) |
151 #if !COMPILER(MSVC) | 150 #if !COMPILER(MSVC) |
152 #define HAVE_VASPRINTF 1 | 151 #define HAVE_VASPRINTF 1 |
153 #endif | 152 #endif |
154 #endif | 153 #endif |
155 | 154 |
156 #if !defined(HAVE_STRNSTR) | |
157 #if OS(DARWIN) || (OS(FREEBSD) && !defined(__GLIBC__)) | |
158 #define HAVE_STRNSTR 1 | |
159 #endif | |
160 #endif | |
161 | |
162 #if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID) | 155 #if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID) |
163 #define HAVE_TM_GMTOFF 1 | 156 #define HAVE_TM_GMTOFF 1 |
164 #define HAVE_TM_ZONE 1 | 157 #define HAVE_TM_ZONE 1 |
165 #define HAVE_TIMEGM 1 | 158 #define HAVE_TIMEGM 1 |
166 #endif | 159 #endif |
167 | 160 |
168 #if OS(DARWIN) | 161 #if OS(DARWIN) |
169 #define HAVE_DISPATCH_H 1 | 162 #define HAVE_DISPATCH_H 1 |
170 #define HAVE_MADV_FREE 1 | 163 #define HAVE_MADV_FREE 1 |
171 #define HAVE_PTHREAD_SETNAME_NP 1 | 164 #define HAVE_PTHREAD_SETNAME_NP 1 |
172 #define HAVE_MADV_FREE_REUSE 1 | 165 #define HAVE_MADV_FREE_REUSE 1 |
173 #endif /* OS(DARWIN) */ | 166 #endif /* OS(DARWIN) */ |
174 | 167 |
175 #if OS(WINDOWS) | 168 #if OS(WINDOWS) |
176 #define HAVE_ISDEBUGGERPRESENT 1 | 169 #define HAVE_ISDEBUGGERPRESENT 1 |
177 #define HAVE_VIRTUALALLOC 1 | 170 #define HAVE_VIRTUALALLOC 1 |
178 #endif | 171 #endif |
179 | 172 |
180 #endif /* WTF_Platform_h */ | 173 #endif /* WTF_Platform_h */ |
OLD | NEW |