Fix windows build with CUDA (#1101)

Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
firecoperana
2026-01-04 23:59:23 -06:00
committed by GitHub
parent d7476a1b46
commit 56dceefd6b
5 changed files with 13 additions and 16 deletions

View File

@@ -78,12 +78,12 @@
#include <io.h>
#endif
#if __cplusplus >= 202000L
#define LU8(x) (const char*)(u8##x)
#else
#define LU8(x) u8##x
#endif
//#if __cplusplus >= 202000L
// #define LU8(x) (const char*)(u8##x)
//#else
// #define LU8(x) u8##x
//#endif
#define LU8(x) (const char*)(u8##x)
#include <algorithm>
#include <array>
#include <cassert>