fix Windows build

This commit is contained in:
Pascal
2026-09-11 21:39:46 +02:00
parent 5ceba5665b
commit 1eb9800342
+5
View File
@@ -17,6 +17,11 @@
#include <type_traits>
#ifdef _WIN32
// windows.h defines min and max as macros, which breaks std::min and std::max
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
# define NOMINMAX
#endif
#include <windows.h>
#include <io.h>
#else