RadiusNetworks / scanbeacon-gem

A Ruby gem for scanning beacons
MIT License
30 stars 9 forks source link

fix compiling issues on linux w/ Ruby 2.x #12

Closed syoder closed 9 years ago

syoder commented 9 years ago

Fix was mostly just moving the include for ruby.h to after the include for bluetooth.h. Otherwise bluetooth would try to redefine some things and fail. Other change was moving all varaible declarations to the beginning of blocks to avoid a warning.