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

Side by Side Diff: runtime/vm/os_thread.h

Issue 1225423002: Add forward-declarations in attempt to fix Mac/Windows build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 | « runtime/bin/thread.h ('k') | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_OS_THREAD_H_ 5 #ifndef VM_OS_THREAD_H_
6 #define VM_OS_THREAD_H_ 6 #define VM_OS_THREAD_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 #include "vm/globals.h"
9 10
10 // Declare the OS-specific types ahead of defining the generic classes. 11 // Declare the OS-specific types ahead of defining the generic classes.
11 #if defined(TARGET_OS_ANDROID) 12 #if defined(TARGET_OS_ANDROID)
12 #include "vm/os_thread_android.h" 13 #include "vm/os_thread_android.h"
13 #elif defined(TARGET_OS_LINUX) 14 #elif defined(TARGET_OS_LINUX)
14 #include "vm/os_thread_linux.h" 15 #include "vm/os_thread_linux.h"
15 #elif defined(TARGET_OS_MACOS) 16 #elif defined(TARGET_OS_MACOS)
16 #include "vm/os_thread_macos.h" 17 #include "vm/os_thread_macos.h"
17 #elif defined(TARGET_OS_WINDOWS) 18 #elif defined(TARGET_OS_WINDOWS)
18 #include "vm/os_thread_win.h" 19 #include "vm/os_thread_win.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 MonitorData data_; // OS-specific data. 106 MonitorData data_; // OS-specific data.
106 107
107 DISALLOW_COPY_AND_ASSIGN(Monitor); 108 DISALLOW_COPY_AND_ASSIGN(Monitor);
108 }; 109 };
109 110
110 111
111 } // namespace dart 112 } // namespace dart
112 113
113 114
114 #endif // VM_OS_THREAD_H_ 115 #endif // VM_OS_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/bin/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698