From fc27c25436d7becd5fe21ef8a521fa6f5e435e45 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Thu, 11 Feb 2016 07:55:03 +0100 Subject: [PATCH] windows builds cleanup --- ccminer.cpp | 6 ------ cpuminer-config.h | 25 ++++++++++++++----------- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/ccminer.cpp b/ccminer.cpp index 09b1c94..aba7fe1 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -3369,12 +3369,6 @@ int main(int argc, char *argv[]) /* real start of the stratum work */ if (want_stratum && have_stratum) { tq_push(thr_info[stratum_thr_id].q, strdup(rpc_url)); - } else { - // hmm, weird on Multicoin.co - //char lpurl[512]; - //sprintf(lpurl, "%s/LP", rpc_url); - //if (opt_algo == ALGO_DECRED) - // tq_push(thr_info[longpoll_thr_id].q, strdup(lpurl)); } #ifdef USE_WRAPNVML diff --git a/cpuminer-config.h b/cpuminer-config.h index 7798f7a..7fc48f0 100644 --- a/cpuminer-config.h +++ b/cpuminer-config.h @@ -66,7 +66,7 @@ #define HAVE_STRING_H 1 /* Define to 1 if you have the header file. */ -#define HAVE_SYSLOG_H 1 +/* #undef HAVE_SYSLOG_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_ENDIAN_H */ @@ -87,7 +87,7 @@ #define HAVE_UNISTD_H 1 /* Defined if libcurl supports AsynchDNS */ -#define LIBCURL_FEATURE_ASYNCHDNS 1 +/* #undef LIBCURL_FEATURE_ASYNCHDNS */ /* Defined if libcurl supports IDN */ #define LIBCURL_FEATURE_IDN 1 @@ -111,7 +111,7 @@ /* #undef LIBCURL_FEATURE_SSPI */ /* Defined if libcurl supports DICT */ -#define LIBCURL_PROTOCOL_DICT 1 +/* #undef LIBCURL_PROTOCOL_DICT */ /* Defined if libcurl supports FILE */ #define LIBCURL_PROTOCOL_FILE 1 @@ -129,25 +129,28 @@ #define LIBCURL_PROTOCOL_HTTPS 1 /* Defined if libcurl supports IMAP */ -#define LIBCURL_PROTOCOL_IMAP 1 +/* #undef LIBCURL_PROTOCOL_IMAP */ /* Defined if libcurl supports LDAP */ -#define LIBCURL_PROTOCOL_LDAP 1 +/* #undef LIBCURL_PROTOCOL_LDAP */ /* Defined if libcurl supports POP3 */ -#define LIBCURL_PROTOCOL_POP3 1 +/* #undef LIBCURL_PROTOCOL_POP3 */ /* Defined if libcurl supports RTSP */ -#define LIBCURL_PROTOCOL_RTSP 1 +/* #undef LIBCURL_PROTOCOL_RTSP */ /* Defined if libcurl supports SMTP */ -#define LIBCURL_PROTOCOL_SMTP 1 +/* #undef LIBCURL_PROTOCOL_SMTP */ /* Defined if libcurl supports TELNET */ -#define LIBCURL_PROTOCOL_TELNET 1 +/* #undef LIBCURL_PROTOCOL_TELNET */ /* Defined if libcurl supports TFTP */ -#define LIBCURL_PROTOCOL_TFTP 1 +/* #undef LIBCURL_PROTOCOL_TFTP */ + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ /* Name of package */ #define PACKAGE "ccminer" @@ -188,4 +191,4 @@ /* #undef curl_free */ /* Define to `unsigned int' if does not define. */ -/* #undef size_t */ +//#define size_t unsigned int