summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4ebb8e6..51722dd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,6 +2,7 @@
// dng
//------------------------------------------------------------------------
// Copyright (c) 2022 Steph Enders <steph@senders.io>
+// Copyright (c) 2022 Dan Enders
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
@@ -33,13 +34,19 @@
#include "resources/Resources.h"
#ifdef __linux__
#include "resources/linux/LinuxResources.h"
+#include <filesystem>
#endif // __linux__
#ifdef _WIN32
#include "resources/windows/WindowsResources.h"
+#include <filesystem>
#endif // _WIN32
+#ifdef __APPLE__
+#include "resources/macos/MacResources.h"
+#include <experimental/filesystem>
+namespace std::filesystem = std::experimental::filesystem;
+#endif // __APPLE__
#include <SFML/Graphics.hpp>
#include <cmath>
-#include <filesystem>
#include <iostream>
std::shared_ptr<Level> lvl;