Commit 867c5009b843941a635b7f0068fb4935d9935032
Fix compilation error with VC++ 2010. Error is:
C:\MinGW\local\src\bcrypt-ruby\ext\mri\ow-crypt.h(17) : error C4028: formal parameter 1 different from declaration C:\MinGW\local\src\bcrypt-ruby\ext\mri\ow-crypt.h(17) : error C4028: formal parameter 2 different from declaration C:\MinGW\local\src\bcrypt-ruby\ext\mri\ow-crypt.h(17) : warning C4273: 'crypt' : inconsistent dll linkage c:\mingw\local\ruby\include\ruby-1.9.1\ruby/missing.h(77) : see previous definition of 'crypt' The fix is to define _CONST as const to match the declaration in missing.h. Note though that Ruby defines a crypt method in crypt.c. Is this a problem?Charlie Savage committed on 8/13/2011, 6:35:04 AM
Parent: 9689789475d1754628f9b5ba1192db34e8363313
Files changed
ext/mri/ow-crypt.h | changed |
Built with git-ssb-web