X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fdropin.h;h=da10cd9ad0757bbf3851b1be27c735f115369bb8;hb=9c577bd201009f14b4cb5d8540b6dc03246f6165;hp=9b196b6d31c9423e535b1e3d51517abec1226c70;hpb=cfc9fee931c70554353ce6c4acc3407baac08745;p=tinc diff --git a/src/dropin.h b/src/dropin.h index 9b196b6d..da10cd9a 100644 --- a/src/dropin.h +++ b/src/dropin.h @@ -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