From e98dbf5acde279049113f1b278c0ab9b0033da2e Mon Sep 17 00:00:00 2001 From: Dwight Date: Wed, 3 Dec 2008 10:12:27 -0500 Subject: [PATCH] compile on windows --- db/cloner.cpp | 2 +- db/db.cpp | 1 + db/db.vcproj | 4 ++++ db/instance.cpp | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/db/cloner.cpp b/db/cloner.cpp index 7e02ef9f16b..5e1952abcc4 100644 --- a/db/cloner.cpp +++ b/db/cloner.cpp @@ -94,7 +94,7 @@ void Cloner::copy(const char *from_collection, const char *to_collection, bool i if( isindex ) js = fixindex(tmp); theDataFileMgr.insert(to_collection, (void*) js.objdata(), js.objsize()); - } + } } bool Cloner::go(const char *masterHost, string& errmsg, const string& fromdb) { diff --git a/db/db.cpp b/db/db.cpp index c80c056f191..7e6b88bb863 100644 --- a/db/db.cpp +++ b/db/db.cpp @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include "stdafx.h" #include "db.h" #include "javajs.h" #include "query.h" diff --git a/db/db.vcproj b/db/db.vcproj index 51ccdd35bdc..70170805afc 100644 --- a/db/db.vcproj +++ b/db/db.vcproj @@ -221,6 +221,10 @@ RelativePath=".\dbwebserver.cpp" > + + diff --git a/db/instance.cpp b/db/instance.cpp index aa37e08c29e..ff03c620976 100644 --- a/db/instance.cpp +++ b/db/instance.cpp @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include "stdafx.h" #include "db.h" #include "query.h" #include "introspect.h"