Skip to content

Commit

Permalink
Fix compile conditionals which use _HAS_CPP0X
Browse files Browse the repository at this point in the history
  • Loading branch information
exjam committed Jun 28, 2016
1 parent b363e8e commit a9efb2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/gsl/gsl-lite.h
Expand Up @@ -146,15 +146,15 @@
# define gsl_HAVE_ARRAY 1
#endif

#if gsl_CPP11_OR_GREATER || (gsl_COMPILER_MSVC_VERSION >= 9 && _HAS_CPP0X)
#if gsl_CPP11_OR_GREATER || (gsl_COMPILER_MSVC_VERSION >= 9 && _HAS_CPP0X) || gsl_COMPILER_MSVC_VERSION >= 14
# define gsl_HAVE_CONTAINER_DATA_METHOD 1
#endif

#if gsl_CPP11_OR_GREATER || gsl_COMPILER_MSVC_VERSION >= 14
# define gsl_HAVE_SIZED_TYPES 1
#endif

#if gsl_CPP11_OR_GREATER || (gsl_COMPILER_MSVC_VERSION >= 10 && _HAS_CPP0X)
#if gsl_CPP11_OR_GREATER || (gsl_COMPILER_MSVC_VERSION >= 10 && _HAS_CPP0X) || gsl_COMPILER_MSVC_VERSION >= 14
# define gsl_HAVE_SHARED_PTR 1
# define gsl_HAVE_UNIQUE_PTR 1
#endif
Expand Down

0 comments on commit a9efb2d

Please sign in to comment.