Wrap fopen calls under Windows
commit20886059fd88724f724da8601a82e04fc3f03a53
authorChris Robinson <chris.kcat@gmail.com>
Fri, 28 Mar 2014 07:37:42 +0000 (28 00:37 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Fri, 28 Mar 2014 07:37:42 +0000 (28 00:37 -0700)
tree0f8c147ad311226ea9983d73e9ca18faade84e8f
parent18620ab5e00fb4cba97f3aa2bfbc677dfe8376ef
Wrap fopen calls under Windows

The idea is that all filenames we deal with are encoded as UTF-8, but the
Windows functions that take a char string interpret it using the ANSI codepage.
So instead, we convert the UTF-8 string to a wchar string, and then use the
wchar functions for proper extended character filename support.
Alc/ALc.c
Alc/alcConfig.c
Alc/backends/wave.c
Alc/compat.h
Alc/helpers.c