From b19038baafb66e80eed87a619479d32466d5dc60 Mon Sep 17 00:00:00 2001
From: pal1000 <liviuprodea@yahoo.com>
Date: Wed, 10 Apr 2024 19:05:19 +0300
Subject: [PATCH] Revert "MSVC build: Avoid using zstd MSYS program"

This reverts commit e247836c49b83edd3c543b2b4b342f5b6d651d51.

It's okay for this to happen as long as they are on same version.
Also it's the only way to get zstd support in clc for now.
---
 buildscript/modules/winflexbison.cmd | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/buildscript/modules/winflexbison.cmd b/buildscript/modules/winflexbison.cmd
index 2f1e9c83..7e0df52a 100644
--- a/buildscript/modules/winflexbison.cmd
+++ b/buildscript/modules/winflexbison.cmd
@@ -7,8 +7,4 @@
 @set flexloc=%devroot%\flexbison
 @IF %flexstate%==1 IF NOT EXIST "%devroot%\flexbison\win_flex.exe" set flexloc=%msysloc%\usr\bin
 @IF %flexstate%==1 IF NOT EXIST "%devroot%\flexbison\win_flex.exe" IF NOT EXIST "%msysloc%\usr\bin\flex.exe" set flexstate=0
-@endlocal&set flexstate=%flexstate%&set flexloc=%flexloc%
-@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" IF EXIST "%msysloc%\flexbison\" RD /S /Q "%msysloc%\flexbison"
-@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" ROBOCOPY "%msysloc%\usr" "%msysloc%\flexbison" /E
-@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" IF EXIST "%msysloc%\flexbison\bin\zstd.exe" del "%msysloc%\flexbison\bin\zstd.exe"
-@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" set flexloc=%msysloc%\flexbison\bin
\ No newline at end of file
+@endlocal&set flexstate=%flexstate%&set flexloc=%flexloc%
\ No newline at end of file