mirror of
https://github.com/sqlite/sqlite.git
synced 2025-12-10 22:22:40 +03:00
Turn on SEH by default when building using MSVC.
FossilOrigin-Name: f57e8275cf1ab3ad8027044cda0893282d1c403a5aa9fabbb1c7de280597b5cd
This commit is contained in:
@@ -318,6 +318,16 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Enable SQLITE_USE_SEH by default on MSVC builds. Only omit
|
||||
** SEH support if the -DSQLITE_OMIT_SEH option is given.
|
||||
*/
|
||||
#if defined(_MSC_VER) && !defined(SQLITE_OMIT_SEH)
|
||||
# define SQLITE_USE_SEH 1
|
||||
#else
|
||||
# undef SQLITE_USE_SEH 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
** The SQLITE_THREADSAFE macro must be defined as 0, 1, or 2.
|
||||
** 0 means mutexes are permanently disable and the library is never
|
||||
|
||||
Reference in New Issue
Block a user