diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-11-12 22:20:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 22:20:21 -0800 |
commit | f6602f92664b782125a1ec5009706f9300fe7e80 (patch) | |
tree | be79b1146a772d4bd0c3ab865887ad4d1831a26a /Python/pymath.c | |
parent | 5e4a13b18bf4473c90ac13656fcb5c2dc3c03191 (diff) | |
download | cpython-git-f6602f92664b782125a1ec5009706f9300fe7e80.tar.gz |
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
(cherry picked from commit 3015fb8ce4d25603434b9b44bb7effb98a481532)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/pymath.c')
-rw-r--r-- | Python/pymath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pymath.c b/Python/pymath.c index c1606bd6d1..24b804223e 100644 --- a/Python/pymath.c +++ b/Python/pymath.c @@ -17,7 +17,7 @@ double _Py_force_double(double x) /* inline assembly for getting and setting the 387 FPU control word on gcc/x86 */ -#ifdef MEMORY_SANITIZER +#ifdef _Py_MEMORY_SANITIZER __attribute__((no_sanitize_memory)) #endif unsigned short _Py_get_387controlword(void) { |