diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 15:44:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 17:57:30 +0200 |
commit | 405c0c4214c48908d8203a8f4d911289211eb909 (patch) | |
tree | ac77153e2c07be81a89d708083743ae8f6932e83 /loader | |
parent | 364155032c228342e853c8f1661fea0c57f11c15 (diff) |
cmake: kill precompiled headers
They only help by 5% at best. Not worth the side effects.
Diffstat (limited to 'loader')
-rw-r--r-- | loader/loader.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <vector> #include <Corrade/Containers/StringView.h> +#if defined _WIN32 && !defined FILENAME_MAX +#define FILENAME_MAX 260 +#endif + namespace Magnum { using Vector2ub = Math::Vector2<unsigned char>; } namespace floormat { struct serialized_scenery; } namespace Magnum::Trade { |