OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef SRC_SHARED_ATOMIC_H_ | 5 #ifndef SRC_SHARED_ATOMIC_H_ |
6 #define SRC_SHARED_ATOMIC_H_ | 6 #define SRC_SHARED_ATOMIC_H_ |
7 | 7 |
8 #if defined(FLETCH_TARGET_OS_LK) | 8 #if defined(FLETCH_TARGET_OS_LK) |
9 #include "src/shared/atomic_gcc_intrinsics.h" | 9 #include "src/shared/atomic_gcc_intrinsics.h" |
10 #else | 10 #else |
11 #include "src/shared/atomic_cpp11.h" | 11 #include "src/shared/atomic_cpp11.h" |
12 #endif | 12 #endif |
13 | 13 |
14 #endif // SRC_SHARED_ATOMIC_H_ | 14 #endif // SRC_SHARED_ATOMIC_H_ |
OLD | NEW |