mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-10-29 22:20:15 +01:00
[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:
parent
0bf16de07b
commit
efda90c93a
@ -22,6 +22,7 @@
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <direct.h> // For _mkdir on Windows
|
||||
#include <algorithm> // For std::replace on w64devkit
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <sys/wait.h>
|
||||
|
Loading…
Reference in New Issue
Block a user