New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetBSD support. #7670

wants to merge 4 commits into
base: master


2 participants
Copy link

ensra commented Jan 3, 2019

No description provided.

Show resolved Hide resolved CMakeLists.txt Outdated
Show resolved Hide resolved Source/Core/Common/MemoryUtil.cpp
Show resolved Hide resolved Source/Core/Common/Thread.cpp Outdated
@@ -156,14 +156,16 @@ size_t MemPhysical()
memInfo.dwLength = sizeof(MEMORYSTATUSEX);
return memInfo.ullTotalPhys;
#elif defined __APPLE__ || defined __FreeBSD__ || defined __OpenBSD__
#elif defined __APPLE__ || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__
int mib[2];
size_t physical_memory;

This comment has been minimized.


krytarowski Jan 5, 2019

NetBSD needs to use uint64_t at least for endian purity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment