OLD | NEW |
1 /* | 1 /* |
2 ** 2013 November 25 | 2 ** 2013 November 25 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 /* | 67 /* |
68 ** For WinCE, some API function parameters do not appear to be declared as | 68 ** For WinCE, some API function parameters do not appear to be declared as |
69 ** volatile. | 69 ** volatile. |
70 */ | 70 */ |
71 #if SQLITE_OS_WINCE | 71 #if SQLITE_OS_WINCE |
72 # define SQLITE_WIN32_VOLATILE | 72 # define SQLITE_WIN32_VOLATILE |
73 #else | 73 #else |
74 # define SQLITE_WIN32_VOLATILE volatile | 74 # define SQLITE_WIN32_VOLATILE volatile |
75 #endif | 75 #endif |
76 | 76 |
| 77 /* |
| 78 ** For some Windows sub-platforms, the _beginthreadex() / _endthreadex() |
| 79 ** functions are not available (e.g. those not using MSVC, Cygwin, etc). |
| 80 */ |
| 81 #if SQLITE_OS_WIN && !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && \ |
| 82 SQLITE_THREADSAFE>0 && !defined(__CYGWIN__) |
| 83 # define SQLITE_OS_WIN_THREADS 1 |
| 84 #else |
| 85 # define SQLITE_OS_WIN_THREADS 0 |
| 86 #endif |
| 87 |
77 #endif /* _OS_WIN_H_ */ | 88 #endif /* _OS_WIN_H_ */ |
OLD | NEW |