Skip to content

Commit 30de539

Browse files
committed
Fixing MSVC language version check
1 parent 514cadc commit 30de539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/inc/sys_string/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#ifndef HEADER_SYS_STRING_CONFIG_H_INCLUDED
99
#define HEADER_SYS_STRING_CONFIG_H_INCLUDED
1010

11-
#if __cplusplus < 202002L || (defined(_MSVC_LANG) && _MSVC_LANG < 202002L)
11+
#if __cplusplus < 202002L && _MSVC_LANG < 202002L
1212
#error This library requires C++20 or above
1313
#endif
1414

0 commit comments

Comments
 (0)