summaryrefslogtreecommitdiffstats
path: root/httpd.cpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-04-12 21:15:36 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-04-12 21:15:36 +0200
commita8d40d15fd9c52fd69a330fb0a5b1b55eeb45102 (patch)
treec1ec16cbaec792b722080c497674af307431c1e3 /httpd.cpp
parent00568d05e383ad14fee881539f171e00b10adf46 (diff)
downloadxmr-stak-a8d40d15fd9c52fd69a330fb0a5b1b55eeb45102.zip
xmr-stak-a8d40d15fd9c52fd69a330fb0a5b1b55eeb45102.tar.gz
refactor CMake
- allow compiling without microhttpd - allow compiling without OpenSSL - install `config.txt` with command `make install`
Diffstat (limited to 'httpd.cpp')
-rw-r--r--httpd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/httpd.cpp b/httpd.cpp
index 7e82aa3..7c94f76 100644
--- a/httpd.cpp
+++ b/httpd.cpp
@@ -21,6 +21,8 @@
*
*/
+#ifndef CONF_NO_HTTPD
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -142,3 +144,5 @@ bool httpd::start_daemon()
return true;
}
+#endif
+
OpenPOWER on IntegriCloud