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

Side by Side Diff: Source/wtf/TCSystemAlloc.cpp

Issue 23672027: Rename OS(WINDOWS) to OS(WIN) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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/ProcessID.h ('k') | Source/wtf/ThreadSpecific.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2005, 2007, Google Inc. 1 // Copyright (c) 2005, 2007, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "TCSystemAlloc.h" 35 #include "TCSystemAlloc.h"
36 36
37 #include "Assertions.h" 37 #include "Assertions.h"
38 #include "CheckedArithmetic.h" 38 #include "CheckedArithmetic.h"
39 #include "TCSpinLock.h" 39 #include "TCSpinLock.h"
40 #include "UnusedParam.h" 40 #include "UnusedParam.h"
41 #include "VMTags.h" 41 #include "VMTags.h"
42 #include <algorithm> 42 #include <algorithm>
43 #include <stdint.h> 43 #include <stdint.h>
44 44
45 #if OS(WINDOWS) 45 #if OS(WIN)
46 #include "windows.h" 46 #include "windows.h"
47 #else 47 #else
48 #include <errno.h> 48 #include <errno.h>
49 #include <unistd.h> 49 #include <unistd.h>
50 #include <sys/mman.h> 50 #include <sys/mman.h>
51 #endif 51 #endif
52 52
53 #ifndef MAP_ANONYMOUS 53 #ifndef MAP_ANONYMOUS
54 #define MAP_ANONYMOUS MAP_ANON 54 #define MAP_ANONYMOUS MAP_ANON
55 #endif 55 #endif
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 #else 243 #else
244 244
245 // Platforms that don't need to explicitly commit memory use an empty inline ver sion of TCMalloc_SystemCommit 245 // Platforms that don't need to explicitly commit memory use an empty inline ver sion of TCMalloc_SystemCommit
246 // declared in TCSystemAlloc.h 246 // declared in TCSystemAlloc.h
247 247
248 #endif 248 #endif
249 249
250 #endif // #if !USE(SYSTEM_MALLOC) 250 #endif // #if !USE(SYSTEM_MALLOC)
251 251
OLDNEW
« no previous file with comments | « Source/wtf/ProcessID.h ('k') | Source/wtf/ThreadSpecific.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698