forked from aniani/vim
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)
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#if defined(_WIN32) && defined(HAVE_FCNTL_H)
|
||||
#if defined(MSWIN) && defined(HAVE_FCNTL_H)
|
||||
# undef HAVE_FCNTL_H
|
||||
#endif
|
||||
|
||||
@@ -112,7 +112,7 @@ typedef PySliceObject PySliceObject_T;
|
||||
|
||||
#if defined(DYNAMIC_PYTHON3) || defined(PROTO)
|
||||
|
||||
# ifndef WIN3264
|
||||
# ifndef MSWIN
|
||||
# include <dlfcn.h>
|
||||
# define FARPROC void*
|
||||
# define HINSTANCE void*
|
||||
|
Reference in New Issue
Block a user