fixes 18539 compile under windows

This commit is contained in:
Avril 2018-05-03 11:40:54 +02:00
parent d156b635af
commit e6fd214131
1 changed files with 1 additions and 1 deletions

View File

@ -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"])