summaryrefslogtreecommitdiffstats
path: root/libraries/systeminfo
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-07-11 22:43:35 +0200
committerPetr Mrázek <peterix@gmail.com>2017-07-11 22:43:35 +0200
commitafb0db24a801d935e9945c948ea8d4b831b59d38 (patch)
tree5db4cc2da656a2f8ffa51306ec808e3ec7632090 /libraries/systeminfo
parent5ea170db7805528b1355cfe94987c349e851e5c3 (diff)
downloadMultiMC-afb0db24a801d935e9945c948ea8d4b831b59d38.tar
MultiMC-afb0db24a801d935e9945c948ea8d4b831b59d38.tar.gz
MultiMC-afb0db24a801d935e9945c948ea8d4b831b59d38.tar.lz
MultiMC-afb0db24a801d935e9945c948ea8d4b831b59d38.tar.xz
MultiMC-afb0db24a801d935e9945c948ea8d4b831b59d38.zip
NOISSUE set max of java heap spinboxes to detected physical memory
Diffstat (limited to 'libraries/systeminfo')
-rw-r--r--libraries/systeminfo/include/sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/systeminfo/include/sys.h b/libraries/systeminfo/include/sys.h
index 36f7d9cd..e40d9a92 100644
--- a/libraries/systeminfo/include/sys.h
+++ b/libraries/systeminfo/include/sys.h
@@ -3,6 +3,7 @@
namespace Sys
{
+const uint64_t megabyte = 1024ull * 1024ull;
struct KernelInfo
{
QString kernelName;