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

Unified Diff: runtime/vm/atomic_linux.h

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 2 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_fuchsia.h ('k') | runtime/vm/atomic_macos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic_linux.h
diff --git a/runtime/vm/atomic_linux.h b/runtime/vm/atomic_linux.h
index 350bcedba66f8789a8f05ad4f6db42af9db09821..c4ee9102f8db97aefe355da9386c562ccfffdc93 100644
--- a/runtime/vm/atomic_linux.h
+++ b/runtime/vm/atomic_linux.h
@@ -2,10 +2,10 @@
// 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_LINUX_H_
-#define VM_ATOMIC_LINUX_H_
+#ifndef RUNTIME_VM_ATOMIC_LINUX_H_
+#define RUNTIME_VM_ATOMIC_LINUX_H_
-#if !defined VM_ATOMIC_H_
+#if !defined RUNTIME_VM_ATOMIC_H_
#error Do not include atomic_linux.h directly. Use atomic.h instead.
#endif
@@ -73,4 +73,4 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr,
} // namespace dart
-#endif // VM_ATOMIC_LINUX_H_
+#endif // RUNTIME_VM_ATOMIC_LINUX_H_
« no previous file with comments | « runtime/vm/atomic_fuchsia.h ('k') | runtime/vm/atomic_macos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698