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

Unified Diff: third_party/sqlite/src/src/os_win.h

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/os_unix.c ('k') | third_party/sqlite/src/src/os_win.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/os_win.h
diff --git a/third_party/sqlite/src/src/os_win.h b/third_party/sqlite/src/src/os_win.h
index 5174ac77814c89b6065d44083b4fb45194e85d59..17d6a2bef462a72e15e704a248166aa373d408fd 100644
--- a/third_party/sqlite/src/src/os_win.h
+++ b/third_party/sqlite/src/src/os_win.h
@@ -74,4 +74,15 @@
# define SQLITE_WIN32_VOLATILE volatile
#endif
+/*
+** For some Windows sub-platforms, the _beginthreadex() / _endthreadex()
+** functions are not available (e.g. those not using MSVC, Cygwin, etc).
+*/
+#if SQLITE_OS_WIN && !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && \
+ SQLITE_THREADSAFE>0 && !defined(__CYGWIN__)
+# define SQLITE_OS_WIN_THREADS 1
+#else
+# define SQLITE_OS_WIN_THREADS 0
+#endif
+
#endif /* _OS_WIN_H_ */
« no previous file with comments | « third_party/sqlite/src/src/os_unix.c ('k') | third_party/sqlite/src/src/os_win.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698