mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-13 01:50:33 +00:00
12 lines
228 B
Diff
12 lines
228 B
Diff
--- a/lib/prefs.cpp
|
|
+++ b/lib/prefs.cpp
|
|
@@ -224,7 +224,7 @@
|
|
max_bytes_sec_down = 0;
|
|
max_bytes_sec_up = 0;
|
|
max_ncpus = 0;
|
|
-#ifdef ANDROID
|
|
+#ifdef __ANDROID__
|
|
max_ncpus_pct = 50;
|
|
#else
|
|
max_ncpus_pct = 0;
|