mirror of
https://github.com/python/cpython.git
synced 2026-04-13 23:31:02 +00:00
gh-146175: Soft-deprecate outdated macros; convert internal usage (GH-146178)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
90f9991abb
commit
91cd2e5806
16 changed files with 160 additions and 47 deletions
|
|
@ -6262,7 +6262,7 @@ socket_gethostbyaddr(PyObject *self, PyObject *args)
|
|||
gethostbyaddr_r is 8-byte aligned, which at least llvm-gcc
|
||||
does not ensure. The attribute below instructs the compiler
|
||||
to maintain this alignment. */
|
||||
char buf[16384] Py_ALIGNED(8);
|
||||
_Py_ALIGNED_DEF(8, char) buf[16384];
|
||||
int buf_len = (sizeof buf) - 1;
|
||||
int errnop;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue