-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSQLite3Shim.h
More file actions
22 lines (20 loc) · 977 Bytes
/
CSQLite3Shim.h
File metadata and controls
22 lines (20 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __CSQLITE3_SHIM_H__
#define __CSQLITE3_SHIM_H__
#if defined(__APPLE__) && defined(__MACH__)
# if __clang_major__ >= 11 // Xcode 11 Beta
# include "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sqlite3.h"
# elif __clang_major__ >= 9 // released now. assume Xcode 10.
# include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sqlite3.h"
# else
# if 0
# include "/Applications/Xcode 8.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sqlite3.h"
# include "/usr/include/sqlite3.h"
# else
// I guess we always want this in the SPM package.
# include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sqlite3.h"
# endif
# endif
#else
# include "/usr/include/sqlite3.h"
#endif
#endif /* __CSQLITE3_SHIM_H__ */