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

Unified Diff: runtime/vm/atomic_openbsd.h

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/atomic.h ('k') | runtime/vm/cpuinfo_openbsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic_openbsd.h
diff --git a/runtime/vm/atomic_android.h b/runtime/vm/atomic_openbsd.h
similarity index 77%
copy from runtime/vm/atomic_android.h
copy to runtime/vm/atomic_openbsd.h
index 9f4df90e37b35e5af873339b91e0aa53985ff9e5..a870445f10194cba68922f7c5c2ec713de928705 100644
--- a/runtime/vm/atomic_android.h
+++ b/runtime/vm/atomic_openbsd.h
@@ -2,15 +2,15 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef VM_ATOMIC_ANDROID_H_
-#define VM_ATOMIC_ANDROID_H_
+#ifndef VM_ATOMIC_OPENBSD_H_
+#define VM_ATOMIC_OPENBSD_H_
#if !defined VM_ATOMIC_H_
-#error Do not include atomic_android.h directly. Use atomic.h instead.
+#error Do not include atomic_openbsd.h directly. Use atomic.h instead.
#endif
-#if !defined(TARGET_OS_ANDROID)
-#error This file should only be included on Android builds.
+#if !defined(TARGET_OS_OPENBSD)
+#error This file should only be included on OpenBSD builds.
#endif
namespace dart {
@@ -36,4 +36,4 @@ inline uword AtomicOperations::CompareAndSwapWord(uword* ptr,
} // namespace dart
-#endif // VM_ATOMIC_ANDROID_H_
+#endif // VM_ATOMIC_OPENBSD_H_
« no previous file with comments | « runtime/vm/atomic.h ('k') | runtime/vm/cpuinfo_openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698