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

Fixes - 18539 - compile under windows
This commit is contained in:
Rémi Verschelde
2018-05-03 13:23:42 +02:00
committed by GitHub

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