Restructured tests and matured Logger a lil bit, now LoggerBase
This commit is contained in:
@@ -7,15 +7,13 @@
|
||||
#endif // _TARGET_LINUX
|
||||
|
||||
#include "Processes.hpp"
|
||||
#include "Types.hpp"
|
||||
|
||||
namespace nb {
|
||||
|
||||
#ifdef _TARGET_WINDOWS
|
||||
uint64_t get_pid() {
|
||||
const auto pid_w = GetCurrentProcessId();
|
||||
uint64_t ret;
|
||||
memcpy(&ret, &pid_w, sizeof(pid_w));
|
||||
return ret;
|
||||
uint64_t GetPID() {
|
||||
return GetCurrentProcessId();
|
||||
}
|
||||
#endif // _TARGET_WINDOWS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user