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