summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-13 06:27:05 (GMT)
committerGitHub <noreply@github.com>2018-11-13 06:27:05 (GMT)
commit60cf26528b931215160a53fd61836dbe4f036009 (patch)
tree3af5006142ddef67efc855bca9618bbef3bc4406 /Python/pymath.c
parent41fdbaa3ea622c3f64d4ab8f70fc79d35729071a (diff)
downloadcpython-60cf26528b931215160a53fd61836dbe4f036009.zip
cpython-60cf26528b931215160a53fd61836dbe4f036009.tar.gz
cpython-60cf26528b931215160a53fd61836dbe4f036009.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 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pymath.c b/Python/pymath.c
index c1606bd..24b8042 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) {