src,deps: replace LoadLibrary by LoadLibraryW
authorCheng Zhao <zcbenz@gmail.com>
Wed, 31 Dec 2014 20:38:08 +0000 (12:38 -0800)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 12 May 2015 08:47:51 +0000 (10:47 +0200)
commit08d08668c957d990e0c52b733e3b29d939a61113
tree6788ccb72549c8ffd147f59c12bb11166c9f3a60
parent0f850f7ae743e454a831fc2d2da425767303c8b6
src,deps: replace LoadLibrary by LoadLibraryW

On Windows, when compiling with `UNICODE` defined, `LoadLibrary` becomes
`LoadLibraryW`. When an ASCII string is passed to that function it
crashes.

PR-URL: https://github.com/iojs/io.js/pull/226
Reviewed-By: Bert Belder <bertbelder@gmail.com>
deps/cares/src/ares_library_init.c