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 ** |
11 ****************************************************************************** | 11 ****************************************************************************** |
12 ** | 12 ** |
13 ** This file contains pre-processor directives related to operating system | 13 ** This file contains pre-processor directives related to operating system |
14 ** detection and/or setup. | 14 ** detection and/or setup. |
15 */ | 15 */ |
16 #ifndef _OS_SETUP_H_ | 16 #ifndef SQLITE_OS_SETUP_H |
17 #define _OS_SETUP_H_ | 17 #define SQLITE_OS_SETUP_H |
18 | 18 |
19 /* | 19 /* |
20 ** Figure out if we are dealing with Unix, Windows, or some other operating | 20 ** Figure out if we are dealing with Unix, Windows, or some other operating |
21 ** system. | 21 ** system. |
22 ** | 22 ** |
23 ** After the following block of preprocess macros, all of SQLITE_OS_UNIX, | 23 ** After the following block of preprocess macros, all of SQLITE_OS_UNIX, |
24 ** SQLITE_OS_WIN, and SQLITE_OS_OTHER will defined to either 1 or 0. One of | 24 ** SQLITE_OS_WIN, and SQLITE_OS_OTHER will defined to either 1 or 0. One of |
25 ** the three will be 1. The other two will be 0. | 25 ** the three will be 1. The other two will be 0. |
26 */ | 26 */ |
27 #if defined(SQLITE_OS_OTHER) | 27 #if defined(SQLITE_OS_OTHER) |
(...skipping 19 matching lines...) Expand all Loading... |
47 # endif | 47 # endif |
48 # else | 48 # else |
49 # define SQLITE_OS_UNIX 0 | 49 # define SQLITE_OS_UNIX 0 |
50 # endif | 50 # endif |
51 #else | 51 #else |
52 # ifndef SQLITE_OS_WIN | 52 # ifndef SQLITE_OS_WIN |
53 # define SQLITE_OS_WIN 0 | 53 # define SQLITE_OS_WIN 0 |
54 # endif | 54 # endif |
55 #endif | 55 #endif |
56 | 56 |
57 #endif /* _OS_SETUP_H_ */ | 57 #endif /* SQLITE_OS_SETUP_H */ |
OLD | NEW |