mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
Fix: "import termios" doesn't work with dynamically loaded Python. (James
Vega)
This commit is contained in:
@@ -96,11 +96,11 @@ struct PyMethodDef { Py_ssize_t a; };
|
||||
# define HINSTANCE long_u /* for generating prototypes */
|
||||
# endif
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifndef WIN3264
|
||||
# include <dlfcn.h>
|
||||
# define FARPROC void*
|
||||
# define HINSTANCE void*
|
||||
# define load_dll(n) dlopen((n),RTLD_LAZY)
|
||||
# define load_dll(n) dlopen((n), RTLD_LAZY|RTLD_GLOBAL)
|
||||
# define close_dll dlclose
|
||||
# define symbol_from_dll dlsym
|
||||
#else
|
||||
|
Reference in New Issue
Block a user