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
10
third_party/python/Modules/grpmodule.c
vendored
10
third_party/python/Modules/grpmodule.c
vendored
|
@ -18,10 +18,11 @@
|
|||
#include "third_party/python/Include/unicodeobject.h"
|
||||
#include "third_party/python/Include/warnings.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "third_party/python/Modules/clinic/grpmodule.inc"
|
||||
#include "third_party/python/Modules/posixmodule.h"
|
||||
/* clang-format off */
|
||||
|
||||
#include "third_party/python/Modules/clinic/grpmodule.inc"
|
||||
|
||||
PYTHON_PROVIDE("grp");
|
||||
PYTHON_PROVIDE("grp.getgrall");
|
||||
PYTHON_PROVIDE("grp.getgrgid");
|
||||
|
@ -278,7 +279,12 @@ PyInit_grp(void)
|
|||
return m;
|
||||
}
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_grp = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab_grp = {
|
||||
"grp",
|
||||
PyInit_grp,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue