We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6fc5073 + 69bbc8f commit ca16ce9Copy full SHA for ca16ce9
1 file changed
ext/sqlite3/database.c
@@ -1,6 +1,11 @@
1
#include <sqlite3_ruby.h>
2
#include <aggregator.h>
3
4
+#if _MSC_VER
5
+#pragma warning( push )
6
+#pragma warning( disable : 4028 )
7
+#endif
8
+
9
#define REQUIRE_OPEN_DB(_ctxt) \
10
if(!_ctxt->db) \
11
rb_raise(rb_path2class("SQLite3::Exception"), "cannot use a closed database");
@@ -825,3 +830,7 @@ void init_sqlite3_database()
825
830
826
831
rb_sqlite3_aggregator_init();
827
832
}
833
834
835
+#pragma warning( pop )
836
0 commit comments