diff options
| author | Matthew Parlane <parlane@gmail.com> | 2013-08-16 00:24:10 +1200 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2013-08-16 00:24:10 +1200 |
| commit | d6ec6ae97a5eba4cd91e4596af314a72481942b7 (patch) | |
| tree | 4a2102efaf7a2daa52a8562d2b393e5c233467b9 /Source/Core/Common | |
| parent | d8b39b9dcfb4e8a3d854d28428a8d992cce73f53 (diff) | |
Fix polarssl on Windows.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Common.vcxproj | 10 | ||||
| -rw-r--r-- | Source/Core/Common/Common.vcxproj.filters | 12 | ||||
| -rw-r--r-- | Source/Core/Common/Src/Crypto/tools.h | 2 |
3 files changed, 7 insertions, 17 deletions
diff --git a/Source/Core/Common/Common.vcxproj b/Source/Core/Common/Common.vcxproj index 373d274907..e85d6c79c3 100644 --- a/Source/Core/Common/Common.vcxproj +++ b/Source/Core/Common/Common.vcxproj @@ -129,6 +129,9 @@ <OptimizeReferences>true</OptimizeReferences> </Link> <Lib /> + <ClCompile> + <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories> + </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'"> <ClCompile /> @@ -147,6 +150,9 @@ <OptimizeReferences>true</OptimizeReferences> </Link> <Lib /> + <ClCompile> + <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories> + </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'"> <ClCompile /> @@ -166,8 +172,6 @@ <ClCompile Include="Src\Crypto\aes_core.cpp" /> <ClCompile Include="Src\Crypto\bn.cpp" /> <ClCompile Include="Src\Crypto\ec.cpp" /> - <ClCompile Include="Src\Crypto\md5.cpp" /> - <ClCompile Include="Src\Crypto\sha1.cpp" /> <ClCompile Include="Src\ExtendedTrace.cpp" /> <ClCompile Include="Src\FileSearch.cpp" /> <ClCompile Include="Src\FileUtil.cpp" /> @@ -220,8 +224,6 @@ <ClInclude Include="Src\CPUDetect.h" /> <ClInclude Include="Src\Crypto\aes.h" /> <ClInclude Include="Src\Crypto\aes_locl.h" /> - <ClInclude Include="Src\Crypto\md5.h" /> - <ClInclude Include="Src\Crypto\sha1.h" /> <ClInclude Include="Src\Crypto\tools.h" /> <ClInclude Include="Src\DebugInterface.h" /> <ClInclude Include="Src\ExtendedTrace.h" /> diff --git a/Source/Core/Common/Common.vcxproj.filters b/Source/Core/Common/Common.vcxproj.filters index 26f66b850a..f16b437f54 100644 --- a/Source/Core/Common/Common.vcxproj.filters +++ b/Source/Core/Common/Common.vcxproj.filters @@ -44,12 +44,6 @@ <ClCompile Include="Src\Crypto\ec.cpp"> <Filter>Crypto</Filter> </ClCompile> - <ClCompile Include="Src\Crypto\md5.cpp"> - <Filter>Crypto</Filter> - </ClCompile> - <ClCompile Include="Src\Crypto\sha1.cpp"> - <Filter>Crypto</Filter> - </ClCompile> <ClCompile Include="Src\SettingsHandler.cpp" /> <ClCompile Include="Src\x64ABI.cpp" /> <ClCompile Include="Src\x64CPUDetect.cpp" /> @@ -111,12 +105,6 @@ <ClInclude Include="Src\Crypto\aes_locl.h"> <Filter>Crypto</Filter> </ClInclude> - <ClInclude Include="Src\Crypto\md5.h"> - <Filter>Crypto</Filter> - </ClInclude> - <ClInclude Include="Src\Crypto\sha1.h"> - <Filter>Crypto</Filter> - </ClInclude> <ClInclude Include="Src\Crypto\tools.h"> <Filter>Crypto</Filter> </ClInclude> diff --git a/Source/Core/Common/Src/Crypto/tools.h b/Source/Core/Common/Src/Crypto/tools.h index ef2c54f51d..d97995c093 100644 --- a/Source/Core/Common/Src/Crypto/tools.h +++ b/Source/Core/Common/Src/Crypto/tools.h @@ -4,7 +4,7 @@ #ifndef _TOOLS_H #define _TOOLS_H -#include "polarssl/sha1.h" +#include <polarssl/sha1.h> // bignum int bn_compare(u8 *a, u8 *b, u32 n); |
