@ -67,10 +67,6 @@ typedef int pid_t;
# ifndef __MINGW__
# define __MINGW__ 1
# endif
#ifdef EXV_UNICODE_PATH
#error EXV_UNICODE_PATH is not supported for MinGW builds
#endif
#ifndef __CYGWIN__
@ -8,6 +8,11 @@
#include <iomanip>
#include <cassert>
// https://github.com/Exiv2/exiv2/issues/468
#if defined(EXV_UNICODE_PATH) && defined(__MINGW__)
#undef EXV_UNICODE_PATH
#define _tchar wchar_t
#define _tstrcmp wcscmp