Fix for building XP-compatible apps with VS2012, from Jon Sonntag

This commit is contained in:
David Anderson 2014-02-13 18:46:28 -08:00
parent bbeef9feee
commit 144b5052ea
1 changed files with 7 additions and 0 deletions

View File

@ -43,6 +43,13 @@
#include "util.h" #include "util.h"
#include "version.h" #include "version.h"
#if _MSC_VER > 1600
//required for compiling with v110_xp to create XP compatible executables
#ifndef FACILITY_VISUALCPP
#define FACILITY_VISUALCPP ((LONG)0x6d) //now defined in winerror.h
#endif
#endif
#include "diagnostics_win.h" #include "diagnostics_win.h"
// NtQuerySystemInformation // NtQuerySystemInformation