summaryrefslogtreecommitdiffhomepage
path: root/loader/loader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'loader/loader.hpp')
-rw-r--r--loader/loader.hpp4
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 {