Skip to content

Commit

Permalink
Nested preprocessor logic should always be commented.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanTLavavej committed Jul 24, 2023
1 parent b87d693 commit da43a31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions stl/inc/__msvc_filebuf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ namespace filesystem {
#ifndef _FSTREAM_SUPPORTS_EXPERIMENTAL_FILESYSTEM
#ifdef _M_CEE
#define _FSTREAM_SUPPORTS_EXPERIMENTAL_FILESYSTEM 0
#else
#else // _M_CEE
#define _FSTREAM_SUPPORTS_EXPERIMENTAL_FILESYSTEM 1
#endif
#endif // _M_CEE
#endif // _FSTREAM_SUPPORTS_EXPERIMENTAL_FILESYSTEM

#if _FSTREAM_SUPPORTS_EXPERIMENTAL_FILESYSTEM
Expand Down
8 changes: 4 additions & 4 deletions stl/inc/regex
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ _STL_DISABLE_CLANG_WARNINGS
#ifndef _REGEX_MAX_STACK_COUNT
#ifdef _WIN64
#define _REGEX_MAX_STACK_COUNT 600L // set to 0 to disable
#else
#else // _WIN64
#define _REGEX_MAX_STACK_COUNT 1000L // set to 0 to disable
#endif
#endif // _WIN64
#endif // _REGEX_MAX_STACK_COUNT

#ifndef _ENHANCED_REGEX_VISUALIZER
#ifdef _DEBUG
#define _ENHANCED_REGEX_VISUALIZER 1
#else
#else // _DEBUG
#define _ENHANCED_REGEX_VISUALIZER 0
#endif
#endif // _DEBUG
#endif // _ENHANCED_REGEX_VISUALIZER

_STD_BEGIN
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/yvals.h
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ class _CRTIMP2_PURE_IMPORT _EmptyLockit { // empty lock class used for bin compa
#ifndef _PREPARE_CONSTRAINED_REGIONS
#ifdef _M_CEE_PURE
#define _PREPARE_CONSTRAINED_REGIONS 1
#else
#else // _M_CEE_PURE
#define _PREPARE_CONSTRAINED_REGIONS 0
#endif
#endif // _M_CEE_PURE
#endif // _PREPARE_CONSTRAINED_REGIONS

#if _PREPARE_CONSTRAINED_REGIONS
Expand Down

0 comments on commit da43a31

Please sign in to comment.