SQLite

Check-in [7c2cd4b05f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Check for Clang before GCC.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | ctimeCompiler
Files: files | file ages | folders
SHA1: 7c2cd4b05f88a759bdf72d3a249db5984fd7105d
User & Date: mistachkin 2016-05-27 21:13:43.995
Context
2016-05-28
00:13
Clang can define _MSC_VER in some circumstances; therefore, check for Clang first. (Closed-Leaf check-in: 3f710bc361 user: mistachkin tags: ctimeCompiler)
2016-05-27
21:13
Check for Clang before GCC. (check-in: 7c2cd4b05f user: mistachkin tags: ctimeCompiler)
20:30
Remove surplus quotation marks from the COMPILER= compile_options setting for Clang. (check-in: 5c966f2000 user: mistachkin tags: ctimeCompiler)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/ctime.c.
43
44
45
46
47
48
49
50
51
52
53


54
55
56
57
58
59
60
  "CASE_SENSITIVE_LIKE",
#endif
#if SQLITE_CHECK_PAGES
  "CHECK_PAGES",
#endif
#if defined(_MSC_VER)
  "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER),
#elif defined(__GNUC__) && defined(__VERSION__)
  "COMPILER=gcc-" __VERSION__,
#elif defined(__clang__) && defined(__clang_version__)
  "COMPILER=clang-" __clang_version__,


#endif
#if SQLITE_COVERAGE_TEST
  "COVERAGE_TEST",
#endif
#if SQLITE_DEBUG
  "DEBUG",
#endif







<
<


>
>







43
44
45
46
47
48
49


50
51
52
53
54
55
56
57
58
59
60
  "CASE_SENSITIVE_LIKE",
#endif
#if SQLITE_CHECK_PAGES
  "CHECK_PAGES",
#endif
#if defined(_MSC_VER)
  "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER),


#elif defined(__clang__) && defined(__clang_version__)
  "COMPILER=clang-" __clang_version__,
#elif defined(__GNUC__) && defined(__VERSION__)
  "COMPILER=gcc-" __VERSION__,
#endif
#if SQLITE_COVERAGE_TEST
  "COVERAGE_TEST",
#endif
#if SQLITE_DEBUG
  "DEBUG",
#endif