浏览代码

Merge pull request #3691 from Paul-Austria/master

Update crypt.c
Kim Kulling 4 年之前
父节点
当前提交
9058692d16
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      contrib/unzip/crypt.c

+ 4 - 0
contrib/unzip/crypt.c

@@ -21,6 +21,10 @@
    NOCRYPT and NOUNCRYPT.
    NOCRYPT and NOUNCRYPT.
 */
 */
 
 
+#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
+    #define MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS 0
+#endif
+
 #include <stdio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdint.h>
 #include <stdint.h>