Skip to content

Commit

Permalink
Add usage of _MSVC_LANG for windows C++ standard check (#295)
Browse files Browse the repository at this point in the history
* Add usage of _MSVC_LANG for windows C++ standard check

* Use MSC_VER instead or WIN32
  • Loading branch information
ocommowi authored and stevengj committed Sep 20, 2019
1 parent 43f7081 commit a8b38b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algs/stogo/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Trial{
friend ostream & operator << (ostream &, RCTrial) ;
};

#if __cplusplus < 201103L
#if (!defined(_MSC_VER) && (__cplusplus < 201103L)) || (defined(_MSC_VER) && (_MSVC_LANG < 201103L))
class TrialGT : public unary_function<Trial, bool>
#else
class TrialGT
Expand Down

0 comments on commit a8b38b2

Please sign in to comment.