Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f254e79a5a4ed741e35cfc00da7bf21934084957 1 parent 926b8d5
@tmm1 tmm1 authored
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)')
Please sign in to comment.
Something went wrong with that request. Please try again.