Fix compiler warning warning [-Wundef]

warning: "_WIN32" is not defined, evaluates to 0 [-Wundef]
This commit is contained in:
Albrecht Schlosser 2025-05-30 15:34:50 +02:00
parent e2683f36d4
commit 2d2f474794

View File

@ -320,7 +320,7 @@ void Application::create_tmpdir() {
tmpdir_create_called = true;
char buf[128];
#if _WIN32
#ifdef _WIN32
// The usual temp file locations on Windows are
// %system%\Windows\Temp
// %userprofiles%\AppData\Local