]> tinc-vpn.org Git - tinc/blobdiff - src/dropin.h
Correct close() function when building with MSVC
[tinc] / src / dropin.h
index da10cd9ad0757bbf3851b1be27c735f115369bb8..384b4dbf54e74de2522c16b17e85a7a10391673b 100644 (file)
@@ -76,6 +76,7 @@ extern int gettimeofday(struct timeval *, void *);
 #define PATH_MAX MAX_PATH
 #define strcasecmp _stricmp
 #define strncasecmp _strnicmp
+#define close CloseHandle
 #define __const const
 
 typedef int mode_t;