Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: third_party/sqlite/src/src/mutex_w32.c

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/src/msvc.h ('k') | third_party/sqlite/src/src/os.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/mutex_w32.c
diff --git a/third_party/sqlite/src/src/mutex_w32.c b/third_party/sqlite/src/src/mutex_w32.c
index 9570bdc0bf452d6695c19684fb10cfe1611f70c6..505c8fab7eba18cda98cbaa2506f54e51133446a 100644
--- a/third_party/sqlite/src/src/mutex_w32.c
+++ b/third_party/sqlite/src/src/mutex_w32.c
@@ -87,8 +87,7 @@ void sqlite3MemoryBarrier(void){
SQLITE_MEMORY_BARRIER;
#elif defined(__GNUC__)
__sync_synchronize();
-#elif !defined(SQLITE_DISABLE_INTRINSIC) && \
- defined(_MSC_VER) && _MSC_VER>=1300
+#elif MSVC_VERSION>=1300
_ReadWriteBarrier();
#elif defined(MemoryBarrier)
MemoryBarrier();
« no previous file with comments | « third_party/sqlite/src/src/msvc.h ('k') | third_party/sqlite/src/src/os.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698