pbhogan/scrypt — pull request #7 by nomoon (2012-05-04 09:41:08+00:00)
Title: Windows compatibility.

I recently made a few changes to the code so that it would properly calibrate and compile under Windows (for those of us using the RubyInstaller version and its MINGW-based DevKit). None of the changes should effect non-MINGW platforms.

PS: My code-editor also cleaned up some extraneous end-of-line/empty-line whitespace, and I moved a few variable declarations to the top of the `sc_crypt` function in `scrypt_ex.c:41` in order to quash a warning about C90 forbidding declarations after statements. Should be 100% cosmetic though.