From 94aa6b8e91f838350008ed730f5468f0be1444c2 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sat, 14 Jan 2017 18:52:39 +0100 Subject: [PATCH] ccminer: allow 192 car. for the username --- crypto/oaes_lib.cpp | 3 ++- miner.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crypto/oaes_lib.cpp b/crypto/oaes_lib.cpp index 4711cc1..9427d82 100644 --- a/crypto/oaes_lib.cpp +++ b/crypto/oaes_lib.cpp @@ -43,8 +43,9 @@ static const char _NR[] = { #include #include -#ifdef WIN32 +#ifdef _MSC_VER #include +#define getpid() _getpid() #else #include #include diff --git a/miner.h b/miner.h index 05cd476..cd1ae92 100644 --- a/miner.h +++ b/miner.h @@ -714,7 +714,7 @@ struct pool_infos { // credentials char url[512]; char short_url[64]; - char user[128]; + char user[192]; char pass[384]; // config options double max_diff;