mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-17 16:17:02 +08:00
fix: windows build fail (#7)
This commit is contained in:
@@ -6,8 +6,10 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <psapi.h>
|
||||
// clang-format off
|
||||
#include <windows.h>
|
||||
#include <psapi.h>
|
||||
// clang-format on
|
||||
typedef LONG(WINAPI* RtlGetVersionPtr)(PRTL_OSVERSIONINFOW);
|
||||
#elif defined(__linux__)
|
||||
#include <fstream>
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
#include "Cubed/gameplay/chunk.hpp"
|
||||
#include "Cubed/gameplay/chunk_generator.hpp"
|
||||
#include "Cubed/gameplay/tree.hpp"
|
||||
|
||||
#include <numeric>
|
||||
|
||||
namespace Cubed {
|
||||
ForestBuilder::ForestBuilder(ChunkGenerator& chunk_generator)
|
||||
: m_chunk_generator(chunk_generator) {}
|
||||
|
||||
Reference in New Issue
Block a user