Fix build with TDM-GCC

@newfrenchy83 said that the build is failing:
37225d24ea (commitcomment-25629052)

It looks like TDM-GCC uses Windows XP development headers, unfortunately.
However, the problem is easy to work around by simply #defining the missing
value ourselves. We should consider dropping TDM-GCC support after the 1.14
release, though.
This commit is contained in:
Jyrki Vesterinen 2017-11-16 19:31:03 +02:00
parent b4c08f462c
commit f0fc40dc12

View file

@ -38,6 +38,10 @@ using boost::uintmax_t;
#include <windows.h>
#include <shlobj.h>
#include <shlwapi.h>
// Work around TDM-GCC not #defining this according to @newfrenchy83.
#define VOLUME_NAME_NONE 0x4
#endif /* !_WIN32 */
#include "config.hpp"