https://bugs.exim.org/show_bug.cgi?id=2334

Carlo Marcelo Arenas Belón <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86-64                      |All

--- Comment #27 from Carlo Marcelo Arenas Belón <[email protected]> ---
adding the include will ALWAYS define TARGET_OS_MAC so the right check should
use #if instead of #ifdef (or as used now #if defined)

not an IOS developer, but reading at the documentation (and their code), it
seems that TARGET_OS_MAC might be always set to 1 (even for IOS) and as shown
in the following excerpt from that header :

      +------------------------------------------------+
      |                TARGET_OS_MAC                   |
      | +---+  +-------------------------------------+ |
      | |   |  |          TARGET_OS_IPHONE           | |
      | |OSX|  | +-----+ +----+ +-------+ +--------+ | |
      | |   |  | | IOS | | TV | | WATCH | | BRIDGE | | |
      | |   |  | +-----+ +----+ +-------+ +--------+ | |
      | +---+  +-------------------------------------+ |
      +------------------------------------------------+

it would be better to use !TARGET_OS_IPHONE

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to