summaryrefslogtreecommitdiffstats
path: root/libpit
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2013-01-22 13:55:29 +0100
committerben <ben@snaploader.vm>2013-01-22 14:44:12 +0100
commit4d850a272aabe91eab08bcc735b4297d51e6e35f (patch)
treeb5a5e48ffa4e7f0f8d3db8b322c7a9fb9b593282 /libpit
parent- Changed interpretation of packet size reponses of 0 from meaning "don't (diff)
downloadHeimdall-4d850a272aabe91eab08bcc735b4297d51e6e35f.tar
Heimdall-4d850a272aabe91eab08bcc735b4297d51e6e35f.tar.gz
Heimdall-4d850a272aabe91eab08bcc735b4297d51e6e35f.tar.bz2
Heimdall-4d850a272aabe91eab08bcc735b4297d51e6e35f.tar.lz
Heimdall-4d850a272aabe91eab08bcc735b4297d51e6e35f.tar.xz
Heimdall-4d850a272aabe91eab08bcc735b4297d51e6e35f.tar.zst
Heimdall-4d850a272aabe91eab08bcc735b4297d51e6e35f.zip
Diffstat (limited to '')
-rw-r--r--libpit/Source/libpit.h9
-rw-r--r--libpit/libpit.vcxproj2
2 files changed, 11 insertions, 0 deletions
diff --git a/libpit/Source/libpit.h b/libpit/Source/libpit.h
index 7d6f346..9e6c452 100644
--- a/libpit/Source/libpit.h
+++ b/libpit/Source/libpit.h
@@ -25,7 +25,16 @@
#pragma warning(disable : 4996)
#endif
+#if (!(defined _MSC_VER) || (_MSC_VER < 1700))
+
+#ifndef nullptr
+#define nullptr 0
+#endif
+
+#endif
+
// C/C++ Standard Library
+#include <cstring>
#include <string>
#include <vector>
diff --git a/libpit/libpit.vcxproj b/libpit/libpit.vcxproj
index 3a1f15e..5973763 100644
--- a/libpit/libpit.vcxproj
+++ b/libpit/libpit.vcxproj
@@ -26,12 +26,14 @@
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">