diff options
author | Dwight <dmerriman@gmail.com> | 2009-03-03 16:06:57 -0500 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-03-03 16:06:57 -0500 |
commit | a039cf7ec785f55e59429ba67747e999eec14f9e (patch) | |
tree | 3f957a13d4633e4a31e90f430c6f0d9d46d8506f | |
parent | bab49f4951b709dc98c60cbb1661863b12f3b556 (diff) | |
download | mongo-a039cf7ec785f55e59429ba67747e999eec14f9e.tar.gz |
compile windows
-rw-r--r-- | s/dbgrid.vcproj | 22 | ||||
-rw-r--r-- | util/message_server.h | 2 |
2 files changed, 18 insertions, 6 deletions
diff --git a/s/dbgrid.vcproj b/s/dbgrid.vcproj index 727a424cf2e..0851060a519 100644 --- a/s/dbgrid.vcproj +++ b/s/dbgrid.vcproj @@ -42,7 +42,7 @@ Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=""..\pcre-7.4";"C:\Program Files\boost\boost_1_35_0""
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;HAVE_CONFIG_H;PCRE_STATIC"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;HAVE_CONFIG_H;PCRE_STATIC;USE_ASIO"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -493,6 +493,18 @@ >
</File>
<File
+ RelativePath="..\util\message_server_asio.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\db\nonce.cpp"
>
</File>
@@ -539,6 +551,10 @@ >
</File>
<File
+ RelativePath="..\client\connpool.cpp"
+ >
+ </File>
+ <File
RelativePath="..\db\dbmessage.h"
>
</File>
@@ -582,10 +598,6 @@ Name="client"
>
<File
- RelativePath="..\client\connpool.cpp"
- >
- </File>
- <File
RelativePath="..\client\connpool.h"
>
</File>
diff --git a/util/message_server.h b/util/message_server.h index 2e5d12cafcc..5b312b2f787 100644 --- a/util/message_server.h +++ b/util/message_server.h @@ -7,7 +7,7 @@ #pragma once -#include "stdafx.h" +#include "../stdafx.h" namespace mongo { |