diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-07-11 22:43:35 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-07-11 22:43:35 +0200 |
commit | afb0db24a801d935e9945c948ea8d4b831b59d38 (patch) | |
tree | 5db4cc2da656a2f8ffa51306ec808e3ec7632090 /libraries/systeminfo | |
parent | 5ea170db7805528b1355cfe94987c349e851e5c3 (diff) | |
download | MultiMC-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.h | 1 |
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; |