From 405c0c4214c48908d8203a8f4d911289211eb909 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 Aug 2023 15:44:39 +0200 Subject: cmake: kill precompiled headers They only help by 5% at best. Not worth the side effects. --- loader/loader.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'loader/loader.hpp') diff --git a/loader/loader.hpp b/loader/loader.hpp index 937ef828..484c5102 100644 --- a/loader/loader.hpp +++ b/loader/loader.hpp @@ -4,6 +4,10 @@ #include #include +#if defined _WIN32 && !defined FILENAME_MAX +#define FILENAME_MAX 260 +#endif + namespace Magnum { using Vector2ub = Math::Vector2; } namespace floormat { struct serialized_scenery; } namespace Magnum::Trade { -- cgit v1.2.3