Overview
Comment: | Check for iOS in configure instead of macros.h.
The initial reason to do this in macros.h was that it would be |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8602025532ee4fa1b6c53576d62dde6d |
User & Date: | js on 2013-12-05 21:26:32 |
Other Links: | manifest | tags |
Context
2013-12-06
| ||
00:52 | Add a fast path for objc_classname_to_class(). check-in: 84a724dd4b user: js tags: trunk | |
2013-12-05
| ||
21:26 | Check for iOS in configure instead of macros.h. check-in: 8602025532 user: js tags: trunk | |
17:48 | Disable OFProcess for iOS and DJGPP/DOS. check-in: 69c1ab4102 user: js tags: trunk | |
Changes
Modified configure.ac from [eea9d480d8] to [b749be0f9f].
︙ | ︙ | |||
761 762 763 764 765 766 767 768 769 770 771 772 773 774 | ]) AS_IF([test x"$enable_static" = x"yes" \ -o x"$enable_shared" = x"no"], [ AC_SUBST(OBJFW_BRIDGE_STATIC_LIB, "libobjfw-bridge.a") ]) ]) ]) AS_IF([test x"$GOBJC" = x"yes"], [ OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror" AC_MSG_CHECKING(whether we have gcc bug objc/27438) AC_TRY_COMPILE([ @interface OFConstantString | > > > > > > | 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 | ]) AS_IF([test x"$enable_static" = x"yes" \ -o x"$enable_shared" = x"no"], [ AC_SUBST(OBJFW_BRIDGE_STATIC_LIB, "libobjfw-bridge.a") ]) ]) ]) case "$host" in arm-apple-darwin*) AC_DEFINE(OF_IOS, 1, [Whether we compile for iOS]) ;; esac AS_IF([test x"$GOBJC" = x"yes"], [ OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror" AC_MSG_CHECKING(whether we have gcc bug objc/27438) AC_TRY_COMPILE([ @interface OFConstantString |
︙ | ︙ |
Modified src/macros.h from [4a09bf3501] to [abc861d5c4].
︙ | ︙ | |||
329 330 331 332 333 334 335 | #else # define OF_BSWAP_FLOAT_IF_BE(i) (i) # define OF_BSWAP_DOUBLE_IF_BE(i) (i) # define OF_BSWAP_FLOAT_IF_LE(i) OF_BSWAP_FLOAT(i) # define OF_BSWAP_DOUBLE_IF_LE(i) OF_BSWAP_DOUBLE(i) #endif | < < < < < < < < | 329 330 331 332 333 334 335 336 337 338 339 340 341 342 | #else # define OF_BSWAP_FLOAT_IF_BE(i) (i) # define OF_BSWAP_DOUBLE_IF_BE(i) (i) # define OF_BSWAP_FLOAT_IF_LE(i) OF_BSWAP_FLOAT(i) # define OF_BSWAP_DOUBLE_IF_LE(i) OF_BSWAP_DOUBLE(i) #endif #define OF_ROL(value, bits) \ (((value) << ((bits) % (sizeof(value) * 8))) | \ ((value) >> (sizeof(value) * 8 - ((bits) % (sizeof(value) * 8))))) #define OF_ROR(value, bits) \ (((value) >> ((bits) % (sizeof(value) * 8))) | \ ((value) << (sizeof(value) * 8 - ((bits) % (sizeof(value) * 8))))) |
︙ | ︙ |