Skip to content

Commit efda90c

Browse files
authored
[Vulkan] Fix compilation of vulkan-shaders-gen on w64devkit after e31a4f6 (ggml-org#8880)
* Fix compilation issue in `vulkan-shaders-gen` ggml-org@e31a4f6 broke compilation on w64devkit. Including `algorithm` seems to fix that. * Guard it under `#ifdef _WIN32`
1 parent 0bf16de commit efda90c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#ifdef _WIN32
2323
#include <windows.h>
2424
#include <direct.h> // For _mkdir on Windows
25+
#include <algorithm> // For std::replace on w64devkit
2526
#else
2627
#include <unistd.h>
2728
#include <sys/wait.h>

0 commit comments

Comments
 (0)