diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-05-30 16:25:31 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbauamnn.cc> | 2015-05-30 16:28:01 +0200 |
commit | 3eec45a48d03fff4e8653dc8fd5617f74c64f3a8 (patch) | |
tree | 99a17859728c8aa581e241c43ac3b02a847a7e00 /src | |
parent | 56dd21f443c86c3bf96a884c970ceed11a56409a (diff) | |
download | biruda-3eec45a48d03fff4e8653dc8fd5617f74c64f3a8.tar.gz biruda-3eec45a48d03fff4e8653dc8fd5617f74c64f3a8.tar.bz2 |
fixed memory check on FreeBSD and add install docu
Author: Andreas Baumann <mail@andreasbaumann.cc>
Diffstat (limited to 'src')
-rw-r--r-- | src/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c index 96a07ab..c1a2ee3 100644 --- a/src/system.c +++ b/src/system.c @@ -391,7 +391,7 @@ unsigned int system_phys_memory( ) memState.dwLength = sizeof( MEMORYSTATUSEX ); GlobalMemoryStatusEx( &memState ); return memState.ullTotalPhys / 1024; -#elif defined( linux ) || defined( __linux ) || defined( __linux__ ) +#elif defined( linux ) || defined( __linux ) || defined( __linux__ ) || defined( __FreeBSD__ ) size_t pageSize; size_t nofPages; |