Pārlūkot izejas kodu

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

Fixes - 18539 - compile under windows
Rémi Verschelde 7 gadi atpakaļ
vecāks
revīzija
f8c36e2266
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
     # Workaround for compilation error with GCC/Clang when -Werror is too greedy (GH-4517)
     import os
     import os
     import methods
     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"])
         env_openssl.Append(CFLAGS=["-Wno-error=implicit-function-declaration"])