Only redefine VOLUME_NAME_NONE if it's not previously defined

This commit is contained in:
Charles Dang 2018-05-11 11:22:25 +11:00
parent 41b436abd3
commit b89b89abea

View file

@ -39,7 +39,9 @@
#include <shlwapi.h>
// Work around TDM-GCC not #defining this according to @newfrenchy83.
#ifndef VOLUME_NAME_NONE
#define VOLUME_NAME_NONE 0x4
#endif
#endif /* !_WIN32 */