summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 01:54:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 01:54:17 +0100
commit61bf4ed245364ced2a3a031f6632352b799b7406 (patch)
tree9996c5abe14feb382ab8567c116cab4c3aefbfa9 /loader
parent18a446c32eb3530e5a2fb395d9f804c61df55e66 (diff)
loader: add header for FILENAME_MAX
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/loader/loader.hpp b/loader/loader.hpp
index 08881ee7..9b2d1c3c 100644
--- a/loader/loader.hpp
+++ b/loader/loader.hpp
@@ -1,13 +1,10 @@
#pragma once
#include "src/pass-mode.hpp"
+#include <stdio.h>
#include <memory>
#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 {