mirror of https://github.com/stella-emu/stella.git
Disable warnings for sqlite in Visual Studio.
This commit is contained in:
parent
bfc59ddcc3
commit
6dc8c51395
|
@ -21,11 +21,15 @@
|
|||
* We can't control the quality of code from outside projects, so for now
|
||||
* just disable warnings for it.
|
||||
*/
|
||||
#ifdef __clang__
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Weverything"
|
||||
#include "source/sqlite3.c"
|
||||
#pragma clang diagnostic pop
|
||||
#elif defined(BSPF_WINDOWS)
|
||||
#pragma warning(push, 0)
|
||||
#include "source/sqlite3.c"
|
||||
#pragma warning(pop)
|
||||
#else
|
||||
#include "source/sqlite3.c"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue