mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 00:20:47 +01:00
Add compiler flag to enable Winamp unicode
MSVC seems to compile with the UNICODE Windows flag enabled, unlike GCC, causing some problems when Winamp's unicode is enabled, so until they are fixed it can be enabled conditionally to build with GCC
This commit is contained in:
parent
82b1f235de
commit
6f05777b8e
@ -5,8 +5,9 @@
|
||||
/* Normally Winamp opens unicode files by their DOS 8.3 name. #define this to use wchar_t filenames,
|
||||
* which must be opened with _wfopen in a WINAMP_STREAMFILE (needed for dual files like .pos).
|
||||
* Only for Winamp paths, other parts would need #define UNICODE for Windows. */
|
||||
//#define UNICODE_INPUT_PLUGIN
|
||||
|
||||
#ifdef VGM_WINAMP_UNICODE
|
||||
#define UNICODE_INPUT_PLUGIN
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
|
Loading…
Reference in New Issue
Block a user