summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-08-28 11:54:50 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-08-28 13:10:16 +0200
commit5bee9026651e4f2f07e524dce7c9d8da75eafa19 (patch)
tree9cbd3756a8a31e07c2aa79470cdafd498c7c6176 /htop.c
parent2d14269bcd9c2db190aff60ac5a120c5b7ebad92 (diff)
Drop configure option --enable-proc
Move to HTOP_LINUX, as --enable-proc implies my_htop_platform=linux, and the Linux features do not work without a proc fs.
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htop.c b/htop.c
index 7cdf4e42..c7689c66 100644
--- a/htop.c
+++ b/htop.c
@@ -200,7 +200,7 @@ int main(int argc, char** argv) {
CommandLineSettings flags = parseArguments(argc, argv); // may exit()
-#ifdef HAVE_PROC
+#ifdef HTOP_LINUX
if (access(PROCDIR, R_OK) != 0) {
fprintf(stderr, "Error: could not read procfs (compiled to look in %s).\n", PROCDIR);
exit(1);

© 2014-2024 Faster IT GmbH | imprint | privacy policy