]> tinc-vpn.org Git - tinc/blobdiff - src/dropin.h
Prevent underflow when sending UDP probes.
[tinc] / src / dropin.h
index 9b196b6d31c9423e535b1e3d51517abec1226c70..da10cd9ad0757bbf3851b1be27c735f115369bb8 100644 (file)
@@ -52,7 +52,7 @@ extern int gettimeofday(struct timeval *, void *);
        } while (0)
 #endif
 
-#ifdef HAVE_MINGW
+#ifdef HAVE_WINDOWS
 #define mkdir(a, b) mkdir(a)
 #ifndef SHUT_RDWR
 #define SHUT_RDWR SD_BOTH
@@ -73,9 +73,6 @@ extern int gettimeofday(struct timeval *, void *);
 
 #ifdef _MSC_VER
 
-#define __attribute(args)
-#define __attribute__(args)
-
 #define PATH_MAX MAX_PATH
 #define strcasecmp _stricmp
 #define strncasecmp _strnicmp