X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=src%2Finternal.h;h=b74ce25d3418e2c2a86189554a20b161e07c79a2;hp=6c602d7deb3deb33eeaa41f27a3981d76800b893;hb=4fe2472f5302b74df5dbb43822711487f1fd9851;hpb=89e8a12aa5dea9f5d3272fcfe277a83687428a84 diff --git a/src/internal.h b/src/internal.h index 6c602d7..b74ce25 100644 --- a/src/internal.h +++ b/src/internal.h @@ -48,6 +48,10 @@ typedef struct CattaEntry CattaEntry; #define CATTA_RR_HOLDOFF_MSEC_RATE_LIMIT 20000 #define CATTA_RR_RATE_LIMIT_COUNT 15 +#ifndef _WIN32 +#define closesocket close +#endif + typedef struct CattaLegacyUnicastReflectSlot CattaLegacyUnicastReflectSlot; struct CattaLegacyUnicastReflectSlot {