From 59391e25eccda0663e61a0c9671d000c205aeb46 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 16 Nov 2014 03:25:41 +0100 Subject: [PATCH] api: fix includes after a test on mingw (cpuminer) --- api.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api.cpp b/api.cpp index 2dfc7d7..8a5f7ea 100644 --- a/api.cpp +++ b/api.cpp @@ -10,10 +10,9 @@ */ #define APIVERSION "1.1" -#ifdef _MSC_VER +#ifdef WIN32 # define _WINSOCK_DEPRECATED_NO_WARNINGS # include -# include #endif #include @@ -40,7 +39,7 @@ #include "nvml.h" #endif -#ifndef _MSC_VER +#ifndef WIN32 # include # include # include