summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2018-11-13 06:01:22 (GMT)
committerGitHub <noreply@github.com>2018-11-13 06:01:22 (GMT)
commit3015fb8ce4d25603434b9b44bb7effb98a481532 (patch)
treea76d3bbd890685a151c19b48bd5d8346eb7e7276 /Objects
parent0dc1e45dfd242493ecdac5dbcad51dbc8f922de7 (diff)
downloadcpython-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 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 10e8391..313f1d0 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -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)