diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-12-11 15:34:04 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-12-11 15:34:04 +0000 |
commit | 40728f30075d82222944e5fbb9d0a66119c957c6 (patch) | |
tree | 3a3983a4499514801b8dc06920bd4225151408d0 | |
parent | fixed nocrypt define (diff) |
types fixes
builds and links now under windows
-rw-r--r-- | src/anytun.suo | bin | 31744 -> 33280 bytes | |||
-rw-r--r-- | src/anytun.vcproj | 28 | ||||
-rw-r--r-- | src/networkPrefix.cpp | 6 |
3 files changed, 30 insertions, 4 deletions
diff --git a/src/anytun.suo b/src/anytun.suo Binary files differindex 2048495..e1b87c1 100644 --- a/src/anytun.suo +++ b/src/anytun.suo diff --git a/src/anytun.vcproj b/src/anytun.vcproj index f27ba21..ae24351 100644 --- a/src/anytun.vcproj +++ b/src/anytun.vcproj @@ -64,6 +64,7 @@ <Tool
Name="VCLinkerTool"
LinkIncremental="2"
+ AdditionalLibraryDirectories="C:\Program Files\boost\boost_1_35_0\lib"
GenerateDebugInformation="true"
SubSystem="1"
TargetMachine="1"
@@ -113,7 +114,7 @@ />
<Tool
Name="VCCLCompilerTool"
- PreprocessorDefinitions="NOCRYPT;NODAEMON;NOEXEC;NOPACKED;NOSYSLOG;NOSIGNALCONTROLLER"
+ PreprocessorDefinitions="NOCRYPT;NODAEMON;NOEXEC;NOPACKED;NOSYSLOG;NOSIGNALCONTROLLER;WIN32_LEAN_AND_MEAN"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@@ -132,6 +133,7 @@ <Tool
Name="VCLinkerTool"
LinkIncremental="2"
+ AdditionalLibraryDirectories="C:\Program Files\boost\boost_1_35_0\lib"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
@@ -182,6 +184,10 @@ >
</File>
<File
+ RelativePath=".\anyrtpproxy\callIdQueue.h"
+ >
+ </File>
+ <File
RelativePath=".\cipher.h"
>
</File>
@@ -226,6 +232,14 @@ >
</File>
<File
+ RelativePath=".\networkAddress.h"
+ >
+ </File>
+ <File
+ RelativePath=".\networkPrefix.h"
+ >
+ </File>
+ <File
RelativePath=".\options.h"
>
</File>
@@ -346,6 +360,10 @@ >
</File>
<File
+ RelativePath=".\anyrtpproxy\callIdQueue.cpp"
+ >
+ </File>
+ <File
RelativePath=".\cipher.cpp"
>
</File>
@@ -378,6 +396,14 @@ >
</File>
<File
+ RelativePath=".\networkAddress.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\networkPrefix.cpp"
+ >
+ </File>
+ <File
RelativePath=".\options.cpp"
>
</File>
diff --git a/src/networkPrefix.cpp b/src/networkPrefix.cpp index 7ba47ea..f72dc01 100644 --- a/src/networkPrefix.cpp +++ b/src/networkPrefix.cpp @@ -39,7 +39,7 @@ NetworkPrefix::NetworkPrefix(): NetworkAddress(),length_(0) { } -NetworkPrefix::NetworkPrefix(const NetworkAddress & src,uint8_t length): NetworkAddress(src),length_(length) +NetworkPrefix::NetworkPrefix(const NetworkAddress & src,u_int8_t length): NetworkAddress(src),length_(length) { } @@ -47,12 +47,12 @@ NetworkPrefix::NetworkPrefix(const NetworkPrefix & src): NetworkAddress(src),len { } -void NetworkPrefix::setNetworkPrefixLength(uint8_t length ) +void NetworkPrefix::setNetworkPrefixLength(u_int8_t length ) { length_ = length; } -uint8_t NetworkPrefix::getNetworkPrefixLength() +u_int8_t NetworkPrefix::getNetworkPrefixLength() { return length_; } |