Staging
v0.8.1
https://github.com/python/cpython
Revision 00a6568ba37f0d815289776a51af46d0eac27384 authored by pxinwr on 28 November 2020, 22:14:16 UTC, committed by GitHub on 28 November 2020, 22:14:16 UTC


Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py.
1 parent 6a273fd
Raw File
Tip revision: 00a6568ba37f0d815289776a51af46d0eac27384 authored by pxinwr on 28 November 2020, 22:14:16 UTC
bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394)
Tip revision: 00a6568
importdl.h
#ifndef Py_IMPORTDL_H
#define Py_IMPORTDL_H

#ifdef __cplusplus
extern "C" {
#endif


extern const char *_PyImport_DynLoadFiletab[];

extern PyObject *_PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *);

/* Max length of module suffix searched for -- accommodates "module.slb" */
#define MAXSUFFIXSIZE 12

#ifdef MS_WINDOWS
#include <windows.h>
typedef FARPROC dl_funcptr;
#else
typedef void (*dl_funcptr)(void);
#endif


#ifdef __cplusplus
}
#endif
#endif /* !Py_IMPORTDL_H */
back to top