mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 14:22: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
9
third_party/python/Modules/pyexpat.c
vendored
9
third_party/python/Modules/pyexpat.c
vendored
|
@ -4,6 +4,7 @@
|
|||
│ Python 3 │
|
||||
│ https://docs.python.org/3/license.html │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "third_party/python/Include/pyexpat.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "third_party/python/Include/abstract.h"
|
||||
#include "third_party/python/Include/boolobject.h"
|
||||
|
@ -16,7 +17,6 @@
|
|||
#include "third_party/python/Include/modsupport.h"
|
||||
#include "third_party/python/Include/objimpl.h"
|
||||
#include "third_party/python/Include/pycapsule.h"
|
||||
#include "third_party/python/Include/pyexpat.h"
|
||||
#include "third_party/python/Include/pyhash.h"
|
||||
#include "third_party/python/Include/pymacro.h"
|
||||
#include "third_party/python/Include/sysmodule.h"
|
||||
|
@ -2041,7 +2041,12 @@ dump buffer
|
|||
[clinic start generated code]*/
|
||||
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=524ce2e021e4eba6]*/
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_pyexpat = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab_pyexpat = {
|
||||
"pyexpat",
|
||||
PyInit_pyexpat,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue