diff options
author | drh <drh@noemail.net> | 2017-01-17 00:10:58 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-01-17 00:10:58 +0000 |
commit | c711f53f30a5c1c7017deb2a77a18d806c936fba (patch) | |
tree | 9ca1cbd5cc913f75266a6fe07ed5c73382b2c545 /src | |
parent | de48a3f98a3e9ff50445d6db1694337fd32231a4 (diff) | |
download | sqlite-c711f53f30a5c1c7017deb2a77a18d806c936fba.tar.gz sqlite-c711f53f30a5c1c7017deb2a77a18d806c936fba.zip |
Disable intrinsic functions for Windows using Clang, due to reports of
linkage errors. This causes a 0.6% performance reduction. We will want to
revisit this change in the future.
FossilOrigin-Name: 7fd560c6d2ff470b755ad118287a0a8825b3009e
Diffstat (limited to 'src')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 3215a7f86..d5ac957d2 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -111,7 +111,7 @@ #endif /* What version of CLANG is being used. 0 means CLANG is not being used */ -#ifdef __clang__ +#if defined(__clang__) && !defined(_WIN32) # define CLANG_VERSION \ (__clang_major__*1000000+__clang_minor__*1000+__clang_patchlevel__) #else |