Wireshark-commits: [Wireshark-commits] master-1.12 979e8e9: Do the check for "building for pre-10.6
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 23 May 2015 23:45:24 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=979e8e9e585aa478035d0e4af33a844b578f0775
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

979e8e9 by Guy Harris (guy@xxxxxxxxxxxx):

    Do the check for "building for pre-10.6" in a way that works.
    
    won't work, because MAC_OS_X_VERSION_10_6 isn't defined by the 10.5 SDK,
    which apparently makes the #if succeed rather than failing.  Go figure.
    
    Just check whether MAC_OS_X_VERSION_10_6 is defined, instead.
    
    Change-Id: I65df48a5ee7ebca12c77863e2813365fe15e3b5d
    Reviewed-on: https://code.wireshark.org/review/8603
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5e4bbf1   Include <AvailabilityMacros.h> to get stuff defined.
    adds  979e8e9   Do the check for "building for pre-10.6" in a way that works.


Summary of changes:
 packaging/macosx/ScriptExec/main.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)