Ticket #53568: patch-sqlite3.c.diff

File patch-sqlite3.c.diff, 756 bytes (added by Schamschula (Marius Schamschula), 8 years ago)
  • sqlite3.c

    old new  
    163315163315
    163316163316/* What version of CLANG is being used.  0 means CLANG is not being used */
    163317163317#ifndef CLANG_VERSION
    163318 #if defined(__clang__) && !defined(_WIN32) && !defined(SQLITE_DISABLE_INTRINSIC)
     163318#if defined(__clang__) && !defined(_WIN32) && !defined(__apple_build_version__) && !defined(SQLITE_DISABLE_INTRINSIC)
    163319163319# define CLANG_VERSION \
    163320163320            (__clang_major__*1000000+__clang_minor__*1000+__clang_patchlevel__)
     163321#elif defined(__clang__) && defined(__apple_build_version__)
     163322# define CLANG_VERSION \
     163323            ((__clang_major__-4)*1000000+__clang_minor__*1000+__clang_patchlevel__)
    163321163324#else
    163322163325# define CLANG_VERSION 0
    163323163326#endif