diff --git a/Builds/VisualStudio2013/RippleD.vcxproj b/Builds/VisualStudio2013/RippleD.vcxproj
index 01eb306b1..bc892ce01 100644
--- a/Builds/VisualStudio2013/RippleD.vcxproj
+++ b/Builds/VisualStudio2013/RippleD.vcxproj
@@ -50,7 +50,7 @@
- _WIN32_WINNT=0x6000;DEBUG;WIN32_CONSOLE;_CRTDBG_MAP_ALLOC;_CRT_SECURE_NO_WARNINGS;_DEBUG;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ _WIN32_WINNT=0x6000;DEBUG;OPENSSL_NO_SSL2;WIN32_CONSOLE;_CRTDBG_MAP_ALLOC;_CRT_SECURE_NO_WARNINGS;_DEBUG;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
..\..\build\proto;..\..\src;..\..\src\beast;..\..\src\protobuf\src;..\..\src\protobuf\vsprojects;%(AdditionalIncludeDirectories)
4800;4244;4267;4018
Async
@@ -87,7 +87,7 @@
- _WIN32_WINNT=0x6000;NDEBUG;WIN32_CONSOLE;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ _WIN32_WINNT=0x6000;NDEBUG;OPENSSL_NO_SSL2;WIN32_CONSOLE;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
..\..\build\proto;..\..\src;..\..\src\beast;..\..\src\protobuf\src;..\..\src\protobuf\vsprojects;%(AdditionalIncludeDirectories)
4800;4244;4267;4018
Async
diff --git a/SConstruct b/SConstruct
index ff474550b..f3bbc8564 100644
--- a/SConstruct
+++ b/SConstruct
@@ -198,6 +198,8 @@ def config_base(env):
)
check_openssl()
+ env.Append(CPPDEFINES=['OPENSSL_NO_SSL2'])
+
#git = Beast.Git(env) # TODO(TOM)
if False: #git.exists:
env.Append(CPPDEFINES={'GIT_COMMIT_ID' : '"%s"' % git.commit_id})
@@ -241,13 +243,11 @@ def config_env(toolchain, variant, env):
env.Append(CPPDEFINES=['NDEBUG'])
if toolchain in Split('clang gcc'):
-
if Beast.system.linux:
env.ParseConfig('pkg-config --static --cflags --libs openssl')
env.ParseConfig('pkg-config --static --cflags --libs protobuf')
- env.Prepend(CFLAGS=['-Wall'])
- env.Prepend(CXXFLAGS=['-Wall'])
+ env.Prepend(CCFLAGS=['-Wall'])
env.Append(CCFLAGS=[
'-Wno-sign-compare',