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