Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/src/os_win.h # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / src / os_win.h` 40 lines ยท 1094 bytes Raw Blame History 1 /* 2 ** 2013 November 25 3 ** 4 ** The author disclaims copyright to this source code. In place of 5 ** a legal notice, here is a blessing: 6 ** 7 ** May you do good and not evil. 8 ** May you find forgiveness for yourself and forgive others. 9 ** May you share freely, never taking more than you give. 10 ** 11 ****************************************************************************** 12 ** 13 ** This file contains code that is specific to Windows. 14 */ 15 #ifndef SQLITE_OS_WIN_H 16 #define SQLITE_OS_WIN_H 17 18 /* 19 ** Include the primary Windows SDK header file. 20 */ 21 #include "windows.h" 22 23 #ifdef __CYGWIN__ 24 # include 25 # include /* amalgamator: dontcache */ 26 # include /* amalgamator: dontcache */ 27 # include /* amalgamator: dontcache */ 28 #endif 29 30 /* 31 ** For some Windows sub-platforms, the _beginthreadex() / _endthreadex() 32 ** functions are not available (e.g. those not using MSVC, Cygwin, etc). 33 */ 34 #if SQLITE_OS_WIN && SQLITE_THREADSAFE>0 && !defined(__CYGWIN__) 35 # define SQLITE_OS_WIN_THREADS 1 36 #else 37 # define SQLITE_OS_WIN_THREADS 0 38 #endif 39 40 #endif /* SQLITE_OS_WIN_H */