AuroraRuntime/Source/AuProcAddresses.cpp

32 lines
623 B
C++
Raw Normal View History

/***
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: AuProcAddresses.cpp
Date: 2023-2-16
Author: Reece
***/
#include <RuntimeInternal.hpp>
#if defined(AURORA_IS_MODERNNT_DERIVED)
#include "AuProcAddresses.NT.hpp"
#endif
namespace Aurora
{
void InitProcAddresses()
{
static bool gDumbInitOnce {};
if (AuExchange(gDumbInitOnce, true))
{
return;
}
#if defined(AURORA_IS_MODERNNT_DERIVED)
InitNTAddresses();
#endif
2024-02-23 12:44:43 +00:00
#if defined(AURORA_IS_LINUX_DERIVED)
InitLinuxAddresses();
#endif
}
}