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

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

Issue 14390002: Decrease the visibility of the ENABLE_THREADING_XX guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase + remove the deleted file from the file list in gypi file Created 7 years, 7 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 | « Source/wtf/ParallelJobsOpenMP.h ('k') | Source/wtf/wtf.gypi » ('j') | no next file with comments »
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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 #define HAVE_MADV_FREE_REUSE 1 411 #define HAVE_MADV_FREE_REUSE 1
412 #endif /* OS(DARWIN) */ 412 #endif /* OS(DARWIN) */
413 413
414 #if OS(WINDOWS) 414 #if OS(WINDOWS)
415 #define HAVE_SYS_TIMEB_H 1 415 #define HAVE_SYS_TIMEB_H 1
416 #define HAVE_ALIGNED_MALLOC 1 416 #define HAVE_ALIGNED_MALLOC 1
417 #define HAVE_ISDEBUGGERPRESENT 1 417 #define HAVE_ISDEBUGGERPRESENT 1
418 #define HAVE_VIRTUALALLOC 1 418 #define HAVE_VIRTUALALLOC 1
419 #endif 419 #endif
420 420
421 #if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H)
422 #define ENABLE_THREADING_LIBDISPATCH 1
423 #elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP)
424 #define ENABLE_THREADING_OPENMP 1
425 #elif !defined(THREADING_GENERIC)
426 #define ENABLE_THREADING_GENERIC 1
427 #endif
428
429 #endif /* WTF_Platform_h */ 421 #endif /* WTF_Platform_h */
OLDNEW
« no previous file with comments | « Source/wtf/ParallelJobsOpenMP.h ('k') | Source/wtf/wtf.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698