1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

If preprocessor macro OS_OTHER is defined, then ignore OS_UNIX, OS_WIN, and

OS_OS2.  This makes it easier to add proprietary backends.. (CVS 3801)

FossilOrigin-Name: 4fdafd3f583b1ec4aa7fb6a9b5de2f52a375832b
This commit is contained in:
drh
2007-04-02 16:45:12 +00:00
parent 8fd5bd3608
commit ee2ce18189
3 changed files with 19 additions and 7 deletions

View File

@@ -21,6 +21,18 @@
** Figure out if we are dealing with Unix, Windows, or some other
** operating system.
*/
#if defined(OS_OTHER)
# if OS_OTHER==1
# undef OS_UNIX
# define OS_UNIX 0
# undef OS_WIN
# define OS_WIN 0
# undef OS_OS2
# define OS_OS2 0
# else
# undef OS_OTHER
# endif
#endif
#if !defined(OS_UNIX) && !defined(OS_OTHER)
# define OS_OTHER 0
# ifndef OS_WIN