TerminalShell (Windows): fix compiling

This commit is contained in:
李通洲
2024-04-17 23:18:32 +08:00
parent a561a96a5f
commit 095149a4e9
@@ -469,6 +469,7 @@ static bool getTerminalVersionZellij(FFstrbuf* exe, FFstrbuf* version)
return version->length > 0;
}
#ifndef _WIN32
static bool getTerminalVersionKitty(FFstrbuf* exe, FFstrbuf* version)
{
// kitty is written in python. `kitty --version` can be expensive
@@ -494,6 +495,7 @@ static bool getTerminalVersionKitty(FFstrbuf* exe, FFstrbuf* version)
//kitty 0.21.2 created by Kovid Goyal
return getExeVersionGeneral(exe, version);
}
#endif
#ifdef _WIN32