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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 #endif | 149 #endif |
150 | 150 |
151 #if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID) | 151 #if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID) |
152 #define HAVE_TM_GMTOFF 1 | 152 #define HAVE_TM_GMTOFF 1 |
153 #define HAVE_TM_ZONE 1 | 153 #define HAVE_TM_ZONE 1 |
154 #define HAVE_TIMEGM 1 | 154 #define HAVE_TIMEGM 1 |
155 #endif | 155 #endif |
156 | 156 |
157 #if OS(DARWIN) | 157 #if OS(DARWIN) |
158 #define HAVE_DISPATCH_H 1 | 158 #define HAVE_DISPATCH_H 1 |
159 #define HAVE_MADV_FREE 1 | |
160 #define HAVE_PTHREAD_SETNAME_NP 1 | 159 #define HAVE_PTHREAD_SETNAME_NP 1 |
161 #define HAVE_MADV_FREE_REUSE 1 | |
162 #endif /* OS(DARWIN) */ | 160 #endif /* OS(DARWIN) */ |
163 | 161 |
164 #if OS(WINDOWS) | |
165 #define HAVE_VIRTUALALLOC 1 | |
166 #endif | |
167 | |
168 #endif /* WTF_Platform_h */ | 162 #endif /* WTF_Platform_h */ |
OLD | NEW |