浏览代码

Merge pull request #18585 from avril-gh/fixes---18539---compile-under-windows

Fixes - 18539 - compile under windows
Rémi Verschelde 7 年之前
父节点
当前提交
f8c36e2266
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/openssl/SCsub

+ 1 - 1
modules/openssl/SCsub

@@ -671,7 +671,7 @@ if (env['builtin_openssl'] != 'no'):
     # Workaround for compilation error with GCC/Clang when -Werror is too greedy (GH-4517)
     import os
     import methods
-    if not (os.name == "nt" and os.getenv("VSINSTALLDIR") != None):  # not Windows and not MSVC
+    if not (os.name == "nt" and os.getenv("VCINSTALLDIR") != None):  # not Windows and not MSVC
         env_openssl.Append(CFLAGS=["-Wno-error=implicit-function-declaration"])