From 4d850a272aabe91eab08bcc735b4297d51e6e35f Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Tue, 22 Jan 2013 23:55:29 +1100 Subject: - Updated MSVC projects to MSVC2012. - Changed from libusb-1.0 to libusbx. - Upgraded to C++11 (defined as C++0x for backwards compatibility with gcc < 4.7). --- libpit/Source/libpit.h | 9 +++++++++ libpit/libpit.vcxproj | 2 ++ 2 files changed, 11 insertions(+) (limited to 'libpit') 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 #include #include 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 @@ StaticLibrary true Unicode + v110 StaticLibrary false true Unicode + v110 -- cgit v1.1