Skip to content

Commit

Permalink
Move __allocator under PAL_STDCPP_COMPAT (#34141)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Mar 26, 2020
1 parent 358070c commit 312cb59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/pal/inc/rt/specstrings.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ __ANNOTATION(SAL_failureDefault(enum __SAL_failureKind));
__byte_readableTo((expr) ? (size) : (size) * 2)
#define __post_invalid _Post_ __notvalid
/* integer related macros */
#define __allocator __inner_allocator
#ifndef PAL_STDCPP_COMPAT
#define __allocator __inner_allocator
#define __deallocate(kind) _Pre_ __notnull __post_invalid
#define __deallocate_opt(kind) _Pre_ __maybenull __post_invalid
#endif
Expand Down

0 comments on commit 312cb59

Please sign in to comment.