changeset 5087:efdc42254e31

. Use HW_USERMEM64 if defined in preference to HW_USERMEM for *BSD
author kurt
date Sun, 27 Apr 2014 17:18:59 -0400
parents af32a380118d
children 0d6f95e05945
files src/os/bsd/vm/os_bsd.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/bsd/vm/os_bsd.cpp	Sun Apr 27 17:17:20 2014 -0400
+++ b/src/os/bsd/vm/os_bsd.cpp	Sun Apr 27 17:18:59 2014 -0400
@@ -359,6 +359,8 @@
   mib[0] = CTL_HW;
 #ifdef HW_MEMSIZE
   mib[1] = HW_MEMSIZE;
+#elif defined (HW_USERMEM64)
+  mib[1] = HW_USERMEM64;
 #else
   mib[1] = HW_USERMEM;
 #endif