From 0a06dc9ee4e67654fda973760c9e04a6f34369ea Mon Sep 17 00:00:00 2001 From: clanmills Date: Sat, 2 May 2020 16:50:21 +0100 Subject: [PATCH] Issue identified in #1101 master/MinGW/Qt. Apply the change here (although this is working on 0.27-maintenance) --- src/futils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/futils.cpp b/src/futils.cpp index 5da1a0b1..67c910ac 100644 --- a/src/futils.cpp +++ b/src/futils.cpp @@ -62,6 +62,9 @@ #include #endif +#ifndef _MAX_PATH +#define _MAX_PATH 1024 +#endif namespace Exiv2 { const char* ENVARDEF[] = {"/exiv2.php", "40"}; //!< @brief default URL for http exiv2 handler and time-out