X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=src%2Finternal.h;h=d38c1a317de0753cc366be30cf8143cd8ca91eb8;hp=789f3634a209e1e9601e267c3082a1b45e4175d7;hb=4ac8d5e93bf09c86e8352cdc2099b35ec89ba3a9;hpb=f502ad7eec6117b80c415b0c6ed45989afab5aaa diff --git a/src/internal.h b/src/internal.h index 789f363..d38c1a3 100644 --- a/src/internal.h +++ b/src/internal.h @@ -52,6 +52,7 @@ typedef struct CattaEntry CattaEntry; #define closesocket close #define winsock_init() #define winsock_exit() +#define errnostrsocket() strerror(errno) #endif typedef struct CattaLegacyUnicastReflectSlot CattaLegacyUnicastReflectSlot;