* src/atomic_ops/sysdeps/armcc/arm_v6.h: Move include of read_ordered.h
down to the end of the file to be after AO_load/store definition
(since read_ordered.h depends on these primitives).
* src/atomic_ops/sysdeps/gcc/arm.h: Likewise.
* src/atomic_ops/sysdeps/msftc/arm.h: Likewise.
* modified is included with the above copyright notice.
*
*/
-#include "../read_ordered.h"
+
#include "../test_and_set_t_is_ao_t.h" /* Probably suboptimal */
#if __TARGET_ARCH_ARM < 6
#endif /* __TARGET_ARCH_ARM >= 6 */
#define AO_T_IS_INT
+
+#include "../read_ordered.h"
*
*/
-#include "../read_ordered.h"
-
#include "../test_and_set_t_is_ao_t.h" /* Probably suboptimal */
#if defined(__thumb__) && !defined(__thumb2__)
/* FIXME: 32-bit ABI is assumed. */
#define AO_T_IS_INT
+
+#include "../read_ordered.h"
* SOFTWARE.
*/
-#include "../read_ordered.h"
-
#ifndef AO_ASSUME_WINDOWS98
/* CAS is always available */
# define AO_ASSUME_WINDOWS98
#endif /* _M_ARM < 6 */
#define AO_T_IS_INT
+
+#include "../read_ordered.h"