mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
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
This commit is contained in:
parent
0dc1e45dfd
commit
3015fb8ce4
6 changed files with 10 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
|||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
|
||||
#if defined(HAVE_GETC_UNLOCKED) && !defined(MEMORY_SANITIZER)
|
||||
#if defined(HAVE_GETC_UNLOCKED) && !defined(_Py_MEMORY_SANITIZER)
|
||||
/* clang MemorySanitizer doesn't yet understand getc_unlocked. */
|
||||
#define GETC(f) getc_unlocked(f)
|
||||
#define FLOCKFILE(f) flockfile(f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue