ext/template/google_hash.cpp.erb in google_hash-0.3.0 vs ext/template/google_hash.cpp.erb in google_hash-0.3.1
- old
+ new
@@ -5,10 +5,10 @@
// much code stolen shamelessly from lourens' cb gem
using google::<%= type %>_hash_map; // namespace where class lives by default
using std::cout;
using std::endl;
-<% if OS.linux? %>
+<% if OS.posix? %>
#include <ext/hash_set>
<% end %>
using __gnu_cxx::hash; // or __gnu_cxx::hash, or maybe tr1::hash, depending on your OS
extern "C" {