Config: fix std::max issue with msvc2017

to fix the following errors:

    xmrig\src\core\Config.cpp(165): error C2065: 'max': undeclared identifier
    xmrig\src\core\Config.cpp(165): error C2275: 'size_t': illegal use of this type as an expression
This commit is contained in:
stoffu 2019-04-11 14:01:07 +09:00
parent 1f77b049e3
commit cf7ce13986
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012

View file

@ -22,6 +22,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <algorithm>
#include <string.h>
#include <uv.h>
#include <inttypes.h>