joyent/libuv — pull request #639 by hnakamur (2012-12-02 00:08:00+00:00)
Title: Use putenv instead of setenv on MinGW

It seems MinGW does not have setenv(). So we must use putenv() instead.
http://octave.1599824.n4.nabble.com/MinGW-build-error-setenv-was-not-declared-in-this-scope-td4644240.html