浏览代码

Update crypt.c

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

+ 4 - 0
contrib/unzip/crypt.c

@@ -21,6 +21,10 @@
    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 <stdlib.h>
 #include <stdint.h>