Ticket #46536: patch-qcompilerdetection_h.diff

File patch-qcompilerdetection_h.diff, 1.3 KB (added by RJVB (René Bertin), 10 years ago)
  • qtbase/src/corelib/global/qcompilerdetection.h

    diff -u -N -rffcad3244ff6e2429da1bf985d6d1116c251c2ec -rd47b9ace50d47a4472dc9fb029bbf6e8dd810c01
     
    154154/* Clang also masquerades as GCC */
    155155#    if defined(__apple_build_version__)
    156156#      /* http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions */
    157 #      if __apple_build_version__ >= 600051
     157#      if __apple_build_version__ >= 6000051
    158158#        define Q_CC_CLANG 305
    159 #      elif __apple_build_version__ >= 503038
     159#      elif __apple_build_version__ >= 5030038
    160160#        define Q_CC_CLANG 304
    161 #      elif __apple_build_version__ >= 500275
     161#      elif __apple_build_version__ >= 5000275
    162162#        define Q_CC_CLANG 303
    163 #      elif __apple_build_version__ >= 425024
     163#      elif __apple_build_version__ >= 4250024
    164164#        define Q_CC_CLANG 302
    165 #      elif __apple_build_version__ >= 318045
     165#      elif __apple_build_version__ >= 3180045
    166166#        define Q_CC_CLANG 301
    167 #      elif __apple_build_version__ >= 211101
     167#      elif __apple_build_version__ >= 2111001
    168168#        define Q_CC_CLANG 300
    169169#      else
    170170#        error "Unknown Apple Clang version"