Skip to content

Commit

Permalink
fixed ruby.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 24, 2010
1 parent 61abd32 commit 4382da9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions geo_bounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ _get_bounding_box(
}

/*
* Main - for testing
* Testing
*/

int test_coord(double lat, double lon)
Expand Down Expand Up @@ -213,13 +213,11 @@ int main(int argc, char** argv)
return error;
}

#if 1

/*
* Ruby bindings
*/

#include "../ruby-1.8.7-p174/ruby.h"
#include "ruby.h"

static VALUE cGeoBounds;

Expand Down Expand Up @@ -290,5 +288,3 @@ void Init_GeoBounds()
cGeoBounds = rb_define_class("GeoBounds", rb_cObject);
rb_define_method(cGeoBounds, "get_geo_bounds", get_geo_bounds, 3);
}

#endif

0 comments on commit 4382da9

Please sign in to comment.