Add a warning when compiling on a platform where imp_implementationWithBlock() won't work.

main
theraven 14 years ago
parent 82dd92351d
commit eeaa8f7b32

@ -52,6 +52,7 @@ next_line2:
jmp *-13(%eax) # Call the block function jmp *-13(%eax) # Call the block function
__objc_block_trampoline_end_sret: __objc_block_trampoline_end_sret:
#else #else
#warning imp_implementationWithBlock() not implemented for your architecture
__objc_block_trampoline: __objc_block_trampoline:
__objc_block_trampoline_end: __objc_block_trampoline_end:
__objc_block_trampoline_sret: __objc_block_trampoline_sret:

Loading…
Cancel
Save