ObjFW  Check-in [b63feee32d]

Overview
Comment:Add a define to indicate forwarding stret is safe.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b63feee32db9ffdcbd3dee2e88b51047a7f7ae2b008fbd785ff04911a14f0d11
User & Date: js on 2013-07-08 16:00:12
Other Links: manifest | tags
Context
2013-07-08
21:34
OFNumber: Correctly handle NAN. check-in: bc2f7c2124 user: js tags: trunk
16:00
Add a define to indicate forwarding stret is safe. check-in: b63feee32d user: js tags: trunk
15:43
Check for ASM lookup at compile time. check-in: a4f1bd6c08 user: js tags: trunk
Changes

Modified src/macros.h from [efb84c3744] to [4fa25a7f6a].

106
107
108
109
110
111
112

113
114
115
116
117
118
119
# endif
#endif

#ifdef OF_APPLE_RUNTIME
# if defined(__x86_64__) || defined(__i386__) || defined(__arm__) || \
    defined(__ppc__)
#  define OF_HAVE_FORWARDING_TARGET_FOR_SELECTOR

# endif
#else
# ifdef __ELF__
#  if defined(__amd64__) || defined(__x86_64__) || defined(__i386__)
#   define OF_HAVE_FORWARDING_TARGET_FOR_SELECTOR
#  endif
# endif







>







106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# endif
#endif

#ifdef OF_APPLE_RUNTIME
# if defined(__x86_64__) || defined(__i386__) || defined(__arm__) || \
    defined(__ppc__)
#  define OF_HAVE_FORWARDING_TARGET_FOR_SELECTOR
#  define OF_HAVE_FORWARDING_TARGET_FOR_SELECTOR_STRET
# endif
#else
# ifdef __ELF__
#  if defined(__amd64__) || defined(__x86_64__) || defined(__i386__)
#   define OF_HAVE_FORWARDING_TARGET_FOR_SELECTOR
#  endif
# endif