| 43 | |
| 44 | Running `cc -E test.c` on the following source code: |
| 45 | {{{ |
| 46 | #include <sqlite3.h> |
| 47 | #ifndef SQLITE_VERSION_NUMBER |
| 48 | # error "SQLITE_VERSION_NUMBER undefined" |
| 49 | #else |
| 50 | int mp_sqlite_version = SQLITE_VERSION_NUMBER; |
| 51 | #endif |
| 52 | }}} |
| 53 | results in the following on Ubuntu where `cc` is in fact `gcc`: |
| 54 | {{{ |
| 55 | # 5 "test.c" |
| 56 | int mp_sqlite_version = |
| 57 | # 5 "test.c" 3 4 |
| 58 | 3022000 |
| 59 | # 5 "test.c" |
| 60 | ; |
| 61 | }}} |
| 62 | while clang would generate |
| 63 | {{{ |
| 64 | int mp_sqlite_version = 3019003; |
| 65 | }}} |
| 66 | which works. |
| 67 | |
| 68 | You can easily verify the behaviour easily by using any `gcc-mp-X` on macOS. |