These are chat archives for rails-sqlserver/activerecord-sqlserver-adapter

14th
Oct 2015
Ken Collins
@metaskills
Oct 14 2015 20:27
Hellow Microsoft!!!
Sean... here is the compiler warning branch.
rails-sqlserver/tiny_tds#217
Saurabh Singh
@saurabh500
Oct 14 2015 20:33
Hello
Ken Collins
@metaskills
Oct 14 2015 20:47
Ken Collins
@metaskills
Oct 14 2015 22:13

--- a/ext/tiny_tds/tiny_tds_ext.h
+++ b/ext/tiny_tds/tiny_tds_ext.h
@@ -6,7 +6,10 @@

include <ruby.h>

include <ruby/encoding.h>

+#include <ruby/version.h>
+#if RUBY_API_VERSION_MAJOR >= 2

include <ruby/thread.h>

+#endif

--- a/ext/tiny_tds/tiny_tds_ext.h
+++ b/ext/tiny_tds/tiny_tds_ext.h
@@ -6,7 +6,10 @@

 #include <ruby.h>
 #include <ruby/encoding.h>
+#include <ruby/version.h>
+#if RUBY_API_VERSION_MAJOR >= 2
   #include <ruby/thread.h>
+#endif
:arrow_down_small: :microphone:
:arrow_down_small: :microphone:
The Streaming support