mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-25 14:52:28 +00:00
Unbreak the x86-64 build
This commit is contained in:
parent
7bc20bff3e
commit
207e18a060
66 changed files with 443 additions and 117 deletions
|
@ -5,6 +5,7 @@
|
|||
│ https://docs.python.org/3/license.html │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "third_party/python/Modules/cjkcodecs/multibytecodec.h"
|
||||
#include "third_party/python/Include/abstract.h"
|
||||
#include "third_party/python/Include/codecs.h"
|
||||
#include "third_party/python/Include/descrobject.h"
|
||||
|
@ -19,7 +20,6 @@
|
|||
#include "third_party/python/Include/structmember.h"
|
||||
#include "third_party/python/Include/tupleobject.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "third_party/python/Modules/cjkcodecs/multibytecodec.h"
|
||||
/* clang-format off */
|
||||
|
||||
PYTHON_PROVIDE("_multibytecodec");
|
||||
|
@ -1911,7 +1911,12 @@ PyInit__multibytecodec(void)
|
|||
return m;
|
||||
}
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__multibytecodec = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__multibytecodec = {
|
||||
"_multibytecodec",
|
||||
PyInit__multibytecodec,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue