diff options
Diffstat (limited to 'Swiften/TLS/SConscript')
-rw-r--r-- | Swiften/TLS/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/TLS/SConscript b/Swiften/TLS/SConscript index ec9edd5..a79e6a1 100644 --- a/Swiften/TLS/SConscript +++ b/Swiften/TLS/SConscript @@ -20,6 +20,8 @@ if myenv.get("HAVE_OPENSSL", 0) : "OpenSSL/OpenSSLCertificateFactory.cpp", ]) myenv.Append(CPPDEFINES = "HAVE_OPENSSL") + if myenv["PLATFORM"] == "win32" : + myenv.Append(CPPDEFINES = "NOMINMAX") elif myenv.get("HAVE_SCHANNEL", 0) : swiften_env.Append(LIBS = ["Winscard"]) objects += myenv.SwiftenObject([ |