From b89b89abeaf48c825bc2b4b22a035ada3293f4c3 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Fri, 11 May 2018 11:22:25 +1100 Subject: [PATCH] Only redefine VOLUME_NAME_NONE if it's not previously defined --- src/filesystem_boost.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filesystem_boost.cpp b/src/filesystem_boost.cpp index 591fa80901a9..96573205f633 100644 --- a/src/filesystem_boost.cpp +++ b/src/filesystem_boost.cpp @@ -39,7 +39,9 @@ #include // Work around TDM-GCC not #defining this according to @newfrenchy83. +#ifndef VOLUME_NAME_NONE #define VOLUME_NAME_NONE 0x4 +#endif #endif /* !_WIN32 */