AuroraRuntime/Source/RuntimeInternal.hpp
2021-06-27 22:25:29 +01:00

46 lines
969 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: RuntimeInternal.hpp
Date: 2021-6-12
Author: Reece
***/
#pragma once
#include <AuroraCommon.hpp>
#if defined(AURORA_PLATFORM_WIN32)
#if !defined(NOMINMAX)
#define NOMINMAX
#endif
#if !defined(WIN32_LEAN_AND_MEAN)
#define WIN32_LEAN_AND_MEAN
#endif
//_WIN32_WINNT=0x0601
#include <SDKDDKVer.h>
#if defined(_AUHAS_ASIO)
#include <asio.hpp>
#endif
#include <windows.h>
#else
#if defined(_AUHAS_ASIO)
#include <asio.hpp>
#endif
#endif
#if defined(AURORA_PLATFORM_LINUX) || defined(AURORA_PLATFORM_ANDROID) || defined(AURORA_PLATFORM_BSD) || defined(AURORA_PLATFORM_PS4) || defined(AURORA_PLATFORM_PS5)
#define AURORA_HAS_PTHREADS
#include <pthread.h>
#endif
#include <AuroraRuntime.hpp>
inline Aurora::RuntimeStartInfo gRuntimeConfig;
using namespace Aurora::Console::Logging;