diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-04-12 21:15:36 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-04-12 21:15:36 +0200 |
commit | a8d40d15fd9c52fd69a330fb0a5b1b55eeb45102 (patch) | |
tree | c1ec16cbaec792b722080c497674af307431c1e3 /httpd.cpp | |
parent | 00568d05e383ad14fee881539f171e00b10adf46 (diff) | |
download | xmr-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.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 + |