Mercurial > vim
diff src/if_python.c @ 15868:7fad90423bd2 v8.1.0941
patch 8.1.0941: macros for MS-Windows are inconsistent
commit https://github.com/vim/vim/commit/4f97475d326c2773a78561fb874e4f23c25cbcd9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 17 17:44:42 2019 +0100
patch 8.1.0941: macros for MS-Windows are inconsistent
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Feb 2019 17:45:08 +0100 |
parents | 3f92851b9a57 |
children | a83c4b1f8ea2 |
line wrap: on
line diff
--- a/src/if_python.c +++ b/src/if_python.c @@ -35,7 +35,7 @@ # undef _POSIX_THREADS #endif -#if defined(_WIN32) && defined(HAVE_FCNTL_H) +#if defined(MSWIN) && defined(HAVE_FCNTL_H) # undef HAVE_FCNTL_H #endif @@ -127,7 +127,7 @@ struct PyMethodDef { Py_ssize_t a; }; # define HINSTANCE long_u /* for generating prototypes */ # endif -# ifndef WIN3264 +# ifndef MSWIN # include <dlfcn.h> # define FARPROC void* # define HINSTANCE void*