Browse files

fix compilation on solaris with new sunww compilers (closes #416)

  • Loading branch information...
1 parent 926b8d5 commit f254e79a5a4ed741e35cfc00da7bf21934084957 @tmm1 tmm1 committed Mar 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/extconf.rb
View
2 ext/extconf.rb
@@ -170,7 +170,7 @@ def manual_ssl_config
add_define 'HAVE_MAKE_PAIR' if try_link(<<SRC, '-lstdc++')
#include <utility>
using namespace std;
- int main(){ pair<int,int> tuple = make_pair(1,2); }
+ int main(){ pair<const int,int> tuple = make_pair(1,2); }
SRC
TRY_LINK.sub!('$(CXX)', '$(CC)')

0 comments on commit f254e79

Please sign in to comment.