diff options
author | Gregory P. Smith <greg@krypto.org> | 2018-11-13 06:01:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 06:01:22 (GMT) |
commit | 3015fb8ce4d25603434b9b44bb7effb98a481532 (patch) | |
tree | a76d3bbd890685a151c19b48bd5d8346eb7e7276 /Include/Python.h | |
parent | 0dc1e45dfd242493ecdac5dbcad51dbc8f922de7 (diff) | |
download | cpython-3015fb8ce4d25603434b9b44bb7effb98a481532.zip cpython-3015fb8ce4d25603434b9b44bb7effb98a481532.tar.gz cpython-3015fb8ce4d25603434b9b44bb7effb98a481532.tar.bz2 |
bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503)
Rename our new MEMORY_SANITIZER define to _Py_MEMORY_SANITIZER.
Project based C Preprocessor namespacing at its finest. :P
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/Python.h b/Include/Python.h index bece208..cb24c8d 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -56,8 +56,8 @@ /* A convenient way for code to know if clang's memory sanitizer is enabled. */ #if defined(__has_feature) # if __has_feature(memory_sanitizer) -# if !defined(MEMORY_SANITIZER) -# define MEMORY_SANITIZER +# if !defined(_Py_MEMORY_SANITIZER) +# define _Py_MEMORY_SANITIZER # endif # endif #endif |