ObjFW  Check-in [efcf24c8ba]

Overview
Comment:macros.h: Add OF_ARM64_ASM define
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: efcf24c8bada8eafa40ecd50a9847e789d737b568e7cca8357ee5217dc08804a
User & Date: js on 2014-02-18 15:07:45
Other Links: manifest | tags
Context
2014-02-18
18:50
Documentation: Show correct imports check-in: 246cfe0807 user: js tags: trunk
15:07
macros.h: Add OF_ARM64_ASM define check-in: efcf24c8ba user: js tags: trunk
00:22
Move around a few defines to be more consistent check-in: f9d12201f8 user: js tags: trunk
Changes

Modified src/macros.h from [3858acab50] to [05f8092242].

106
107
108
109
110
111
112


113
114
115
116
117
118
119
#  endif
#  ifdef __ARM_ARCH_6T2__
#   define OF_ARMV6_ASM
#  endif
#  ifdef OF_ARMV7_ASM
#   define OF_ARMV6_ASM
#  endif


# endif
#endif

#define OF_ENSURE(cond)							\
	if (!(cond)) {							\
		fprintf(stderr, "Failed to ensure condition in "	\
		    __FILE__ ":%d:\n" #cond "\n", __LINE__);		\







>
>







106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#  endif
#  ifdef __ARM_ARCH_6T2__
#   define OF_ARMV6_ASM
#  endif
#  ifdef OF_ARMV7_ASM
#   define OF_ARMV6_ASM
#  endif
# elif defined(__arm64__) || defined(__aarch64__)
#  define OF_ARM64_ASM
# endif
#endif

#define OF_ENSURE(cond)							\
	if (!(cond)) {							\
		fprintf(stderr, "Failed to ensure condition in "	\
		    __FILE__ ":%d:\n" #cond "\n", __LINE__);		\