[Vulkan] Fix compilation of vulkan-shaders-gen on w64devkit after e31a4f6 (#8880)

* Fix compilation issue in `vulkan-shaders-gen`

e31a4f6797 broke compilation on w64devkit. Including `algorithm` seems to fix that.

* Guard it under `#ifdef _WIN32`
This commit is contained in:
MaggotHATE 2024-08-06 16:32:03 +05:00 committed by GitHub
parent 0bf16de07b
commit efda90c93a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,7 @@
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#include <direct.h> // For _mkdir on Windows #include <direct.h> // For _mkdir on Windows
#include <algorithm> // For std::replace on w64devkit
#else #else
#include <unistd.h> #include <unistd.h>
#include <sys/wait.h> #include <sys/wait.h>