MSVC: Fix lite build.

MSVC still defines __cplusplus as 199711L until it's in full conformance with the newer c++ standards, however the things we need from the standard are fully supported, hence a check for the msvc version was needed.
This commit is contained in:
Ray molenkamp 2018-03-20 08:26:11 -06:00
parent 09c88fed1f
commit 4f97f58513
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@
*/
#include <string>
#include <vector>
#include <algorithm>
struct bAction;
struct ChannelDriver;

View File

@ -30,7 +30,7 @@
#pragma once
#if (__cplusplus > 199711L)
#if (__cplusplus > 199711L) || (defined(_MSC_VER) && _MSC_VER >= 1800)
#include <functional>