diff options
| author | shadchin <[email protected]> | 2022-02-10 16:44:30 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:44:30 +0300 |
| commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
| tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/tools/python3/src/Include/Python.h | |
| parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/python3/src/Include/Python.h')
| -rw-r--r-- | contrib/tools/python3/src/Include/Python.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/contrib/tools/python3/src/Include/Python.h b/contrib/tools/python3/src/Include/Python.h index 1c3399f6072..93bfdd7cb11 100644 --- a/contrib/tools/python3/src/Include/Python.h +++ b/contrib/tools/python3/src/Include/Python.h @@ -32,7 +32,7 @@ #include <errno.h> #endif #include <stdlib.h> -#ifndef MS_WINDOWS +#ifndef MS_WINDOWS #include <unistd.h> #endif @@ -50,22 +50,22 @@ #include "pyport.h" #include "pymacro.h" -/* A convenient way for code to know if sanitizers are enabled. */ +/* A convenient way for code to know if sanitizers are enabled. */ #if defined(__has_feature) # if __has_feature(memory_sanitizer) # if !defined(_Py_MEMORY_SANITIZER) # define _Py_MEMORY_SANITIZER # endif # endif -# if __has_feature(address_sanitizer) -# if !defined(_Py_ADDRESS_SANITIZER) -# define _Py_ADDRESS_SANITIZER -# endif -# endif -#elif defined(__GNUC__) -# if defined(__SANITIZE_ADDRESS__) -# define _Py_ADDRESS_SANITIZER -# endif +# if __has_feature(address_sanitizer) +# if !defined(_Py_ADDRESS_SANITIZER) +# define _Py_ADDRESS_SANITIZER +# endif +# endif +#elif defined(__GNUC__) +# if defined(__SANITIZE_ADDRESS__) +# define _Py_ADDRESS_SANITIZER +# endif #endif /* Debug-mode build with pymalloc implies PYMALLOC_DEBUG. @@ -110,25 +110,25 @@ #include "classobject.h" #include "fileobject.h" #include "pycapsule.h" -#include "code.h" -#include "pyframe.h" +#include "code.h" +#include "pyframe.h" #include "traceback.h" #include "sliceobject.h" #include "cellobject.h" #include "iterobject.h" -#include <contrib/tools/python3/src/Include/cpython/initconfig.h> +#include <contrib/tools/python3/src/Include/cpython/initconfig.h> #include "genobject.h" #include "descrobject.h" -#include "genericaliasobject.h" +#include "genericaliasobject.h" #include "warnings.h" #include "weakrefobject.h" #include "structseq.h" #include "namespaceobject.h" -#include "picklebufobject.h" +#include "picklebufobject.h" #include "codecs.h" #include "pyerrors.h" -#include "pythread.h" +#include "pythread.h" #include "pystate.h" #include "context.h" @@ -153,6 +153,6 @@ #include "pystrcmp.h" #include "fileutils.h" #include "pyfpe.h" -#include "tracemalloc.h" +#include "tracemalloc.h" #endif /* !Py_PYTHON_H */ |
