mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-28 18:41:57 -05:00
Fix comment typos
This commit is contained in:
parent
0c80f51f7c
commit
d09f1544fd
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
#ifndef GSL_USE_STD_BYTE
|
#ifndef GSL_USE_STD_BYTE
|
||||||
#include <cstddef> /* __cpp_lib_byte */
|
#include <cstddef> /* __cpp_lib_byte */
|
||||||
// this tests if we are under GCC or Clang with enough -std:c++1z power to get us std::byte
|
// this tests if we are under GCC or Clang with enough -std=c++1z power to get us std::byte
|
||||||
// also check if libc++ version is sufficient (> 5.0) or libstc++ actually contains std::byte
|
// also check if libc++ version is sufficient (> 5.0) or libstdc++ actually contains std::byte
|
||||||
#if defined(__cplusplus) && (__cplusplus >= 201703L) && \
|
#if defined(__cplusplus) && (__cplusplus >= 201703L) && \
|
||||||
(defined(__cpp_lib_byte) && (__cpp_lib_byte >= 201603) || \
|
(defined(__cpp_lib_byte) && (__cpp_lib_byte >= 201603) || \
|
||||||
defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 5000))
|
defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 5000))
|
||||||
|
Loading…
Reference in New Issue
Block a user