configure: check for INIT_ONCE before enabling w32threads
authorJames Almer <jamrial@gmail.com>
Sun, 8 Apr 2018 17:00:47 +0000 (14:00 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 10 Apr 2018 23:45:17 +0000 (20:45 -0300)
commitaea610b0d6497886860a894eb76a6cc7788c0fcd
tree735d67a3debe56355d01088ab663cbd33fcf13c3
parent234a5e08313c6b8b0774796dfa1f285a3f877d14
configure: check for INIT_ONCE before enabling w32threads

Should fix compilation wiht some old mingw-w64 builds that
don't seem to define it.

Signed-off-by: James Almer <jamrial@gmail.com>
configure