diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..59bb7e72cd
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,8 @@
+# Set default behaviour, in case users don't have core.autocrlf set.
+* text=auto
+
+# Visual Studio
+*.sln text eol=crlf
+*.vcproj text eol=crlf
+*.vcxproj text eol=crlf
+*.props text eol=crlf
diff --git a/.gitignore b/.gitignore
index 41a4891b8d..ff81a10531 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,3 +37,7 @@ db/*.db-*
rippled.cfg
validators.txt
test/config.js
+
+# These are generated by protoc
+ripple.pb.cc
+ripple.pb.h
diff --git a/RippleD.props b/RippleD.props
new file mode 100644
index 0000000000..e5edb23724
--- /dev/null
+++ b/RippleD.props
@@ -0,0 +1,22 @@
+
+
+
+
+ .
+ $(RepoDir)\src\cpp\ripple
+
+
+
+
+ _SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+
+
+ $(RepoDir)
+
+
+ $(SrcDir)
+
+
+
\ No newline at end of file
diff --git a/newcoin.vcxproj b/newcoin.vcxproj
index 3a1261fff4..42abebc8cd 100644
--- a/newcoin.vcxproj
+++ b/newcoin.vcxproj
@@ -34,18 +34,24 @@
+
+
true
rippled
+ $(SolutionDir)build\VisualStudio2012\$(Configuration)\
+ $(SolutionDir)build\obj\VisualStudio2012\$(Configuration)\
false
rippled
+ $(SolutionDir)build\VisualStudio2012\$(Configuration)\
+ $(SolutionDir)build\obj\VisualStudio2012\$(Configuration)\
@@ -55,6 +61,8 @@
BOOST_TEST_ALTERNATIVE_INIT_API;BOOST_TEST_NO_MAIN;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
.\;..\OpenSSL\include;..\boost_1_52_0;..\protobuf\src
ProgramDatabase
+ false
+ true
Console
@@ -79,6 +87,7 @@
true
BOOST_TEST_ALTERNATIVE_INIT_API;BOOST_TEST_NO_MAIN;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
.\;..\OpenSSL\include;..\boost_1_52_0;..\protobuf\src
+ true
Console
@@ -106,6 +115,7 @@
+
@@ -220,6 +230,7 @@
+
@@ -328,10 +339,10 @@
Document
- "../protobuf/protoc" -I=..\newcoin --cpp_out=..\newcoin\ ..\newcoin/src/cpp/ripple/ripple.proto
- \code\newcoin\src\ripple.pb.h
- /code/protobuf/protoc -I=..\newcoin --cpp_out=\code\newcoin\ ..\newcoin/src/cpp/ripple/ripple.proto
- \code\newcoin\src\ripple.pb.h
+ protoc --cpp_out=$(SrcDir) -I=$(SrcDir) "$(SrcDir)\%(Filename)%(Extension)"
+ $(SrcDir)\%(Filename).pb.h;$(SrcDir)\%(Filename).pb.cc
+ protoc --cpp_out=$(SrcDir) -I=$(SrcDir) "$(SrcDir)\%(Filename)%(Extension)"
+ $(SrcDir)\%(Filename).pb.h;$(SrcDir)\%(Filename).pb.cc
diff --git a/newcoin.vcxproj.filters b/newcoin.vcxproj.filters
index 8d4ed17aee..49dc813897 100644
--- a/newcoin.vcxproj.filters
+++ b/newcoin.vcxproj.filters
@@ -375,6 +375,9 @@
Source Files
+
+ Source Files
+
@@ -716,6 +719,9 @@
Header Files\websocket
+
+ Source Files
+
diff --git a/src/cpp/websocketpp/src/messages/data.hpp b/src/cpp/websocketpp/src/messages/data.hpp
index 2aa50455b5..b593791839 100644
--- a/src/cpp/websocketpp/src/messages/data.hpp
+++ b/src/cpp/websocketpp/src/messages/data.hpp
@@ -36,6 +36,10 @@
#include
#include
#include
+#include
+#if BOOST_VERSION >= 105300 // 1.53.00
+#include
+#endif
#include
#include
#include