diff options
author | danenders <danenders@gmail.com> | 2022-06-26 21:26:23 -0400 |
---|---|---|
committer | danenders <danenders@gmail.com> | 2022-06-26 21:33:59 -0400 |
commit | 49f22d6f41d46635502d9e2e492ee36a1197a4de (patch) | |
tree | 0ae7b57010487bad060487d7bf937bc2a24d88c0 /src/main.cpp | |
parent | 57dd05872afca68f6a3dc4902b58cfa8c363ce50 (diff) |
adding macos support in progress
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 9 |
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; |