Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: Source/wtf/Platform.h

Issue 22661006: Make HAVE_MADV_FREE, HAVE_MADV_FREE_REUSE and HAVE_VIRTUALALLOC local macros as it only used in wtf… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/wtf/TCSystemAlloc.h » ('j') | Source/wtf/TCSystemAlloc.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 #endif 153 #endif
154 154
155 #if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID) 155 #if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID)
156 #define HAVE_TM_GMTOFF 1 156 #define HAVE_TM_GMTOFF 1
157 #define HAVE_TM_ZONE 1 157 #define HAVE_TM_ZONE 1
158 #define HAVE_TIMEGM 1 158 #define HAVE_TIMEGM 1
159 #endif 159 #endif
160 160
161 #if OS(DARWIN) 161 #if OS(DARWIN)
162 #define HAVE_DISPATCH_H 1 162 #define HAVE_DISPATCH_H 1
163 #define HAVE_MADV_FREE 1
164 #define HAVE_PTHREAD_SETNAME_NP 1 163 #define HAVE_PTHREAD_SETNAME_NP 1
165 #define HAVE_MADV_FREE_REUSE 1
166 #endif /* OS(DARWIN) */ 164 #endif /* OS(DARWIN) */
167 165
168 #if OS(WINDOWS) 166 #if OS(WINDOWS)
169 #define HAVE_ISDEBUGGERPRESENT 1 167 #define HAVE_ISDEBUGGERPRESENT 1
170 #define HAVE_VIRTUALALLOC 1
171 #endif 168 #endif
172 169
173 #endif /* WTF_Platform_h */ 170 #endif /* WTF_Platform_h */
OLDNEW
« no previous file with comments | « no previous file | Source/wtf/TCSystemAlloc.h » ('j') | Source/wtf/TCSystemAlloc.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698