Fixes https://gitlab.com/graphviz/graphviz/-/issues/1780 on MinGW.
Without this fix, test_1780 fails:
__________________________________ test_1780 __________________________________
Traceback (most recent call last):
File "C:/Users/magja/graphviz2/rtest/test_regression.py", line 594, in test_1780
subprocess.check_call(["gvpr", "-f", clustg], stdin=subprocess.DEVNULL)
File "C:/tools/msys64/mingw64/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gvpr', '-f', WindowsPath('C:/Users/magja/graphviz2/cmd/gvpr/lib/clustg')]' returned non-zero exit status
4294967295.
---------------------------- Captured stderr call -----------------------------
gvpr: gvpr
Usage: gvpr gvpr
- mismatched format string in `mingle`
- Building from scratch with Visual Studio fails #2175
- Plugins are not configured on MinGW #2176
+- gvpr on MinGW does not support absolute paths #1780
## [2.50.0] – 2021-12-04
}
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__MINGW32__)
#define PATHSEP '\\'
#define LISTSEP ';'
#else