Skip to content

Commit

Permalink
1.9 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wishdev committed May 5, 2009
1 parent 3a4e2e4 commit 5653e58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fb.c
Expand Up @@ -2874,7 +2874,7 @@ static VALUE connection_indexes(VALUE self)

static VALUE connection_rkeyword(VALUE self, VALUE word)
{
return IsAToken(RSTRING(word)->ptr) ? Qtrue :Qfalse;
return IsAToken(RSTRING_PTR(word)) ? Qtrue :Qfalse;
}

/* call-seq:
Expand Down
4 changes: 2 additions & 2 deletions fb.gemspec
Expand Up @@ -3,7 +3,7 @@ require 'rubygems'

spec = Gem::Specification.new do |s|
s.name = "fb"
s.version = "0.5.9.1"
s.version = "0.6"
s.date = "2009-05-03"
s.summary = "Firebird and Interbase driver"
s.requirements = "Firebird client library fbclient.dll"
Expand All @@ -15,7 +15,7 @@ spec = Gem::Specification.new do |s|
s.has_rdoc = true
s.extra_rdoc_files = ['README']
s.rdoc_options << '--title' << 'Fb -- Ruby Firebird Extension' << '--main' << 'README' << '-x' << 'test'
s.files = ['extconf.rb', 'fb.c', 'README'] + Dir.glob("test/*")
s.files = ['extconf.rb', 'fb.c', 'keywords.c', 'keywords.h', 'README'] + Dir.glob("test/*")
s.platform = case PLATFORM
when /win32/ then Gem::Platform::WIN32
else
Expand Down
2 changes: 2 additions & 0 deletions keywords.h
Expand Up @@ -25,6 +25,8 @@
* MOD 29-Jun-2002
*/

#include <strings.h>

struct tok {
const char* tok_string;
int nonReserved;
Expand Down

0 comments on commit 5653e58

Please sign in to comment.