aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python/src/Include/pyconfig.win32.h
diff options
context:
space:
mode:
authorrobot-brewer <robot-brewer@yandex-team.com>2024-11-11 09:16:28 +0300
committerrobot-brewer <robot-brewer@yandex-team.com>2024-11-11 09:32:08 +0300
commit27a5e2170c973f0df354c8a3c73bfd613f659036 (patch)
tree2241c64e06910a1ddfa5b4f5d524c502af4bc9d4 /contrib/tools/python/src/Include/pyconfig.win32.h
parentaa2573e03c0a4debad8edd5acab600ccaa29e896 (diff)
downloadydb-27a5e2170c973f0df354c8a3c73bfd613f659036.tar.gz
Release clang18 #3
https://github.com/yandex/toolchain-registry/releases/tag/clang18-v3 commit_hash:242ab0166e0b3ae29fd381117df005246a4e4eb9
Diffstat (limited to 'contrib/tools/python/src/Include/pyconfig.win32.h')
-rw-r--r--contrib/tools/python/src/Include/pyconfig.win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tools/python/src/Include/pyconfig.win32.h b/contrib/tools/python/src/Include/pyconfig.win32.h
index 8aeb631ab1..6aae7b85b0 100644
--- a/contrib/tools/python/src/Include/pyconfig.win32.h
+++ b/contrib/tools/python/src/Include/pyconfig.win32.h
@@ -233,7 +233,9 @@ typedef int pid_t;
#define Py_IS_NAN _isnan
#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
#define Py_IS_FINITE(X) _finite(X)
+#ifndef __clang__
#define copysign _copysign
+#endif
/* VS 2010 and above already defines hypot as _hypot */
#if _MSC_VER < 1600