| 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_
|
|
|