Explorar o código

fixes 18539 compile under windows

Avril %!s(int64=7) %!d(string=hai) anos
pai
achega
e6fd214131
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"])