mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
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:
@@ -11,7 +11,7 @@
|
||||
|
||||
#if defined(FEAT_CSCOPE) || defined(PROTO)
|
||||
|
||||
#if defined (WIN32)
|
||||
#if defined (MSWIN)
|
||||
# ifndef WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# endif
|
||||
@@ -45,7 +45,7 @@ typedef struct csi {
|
||||
dev_t st_dev; /* ID of dev containing cscope db */
|
||||
ino_t st_ino; /* inode number of cscope db */
|
||||
#else
|
||||
# if defined(WIN32)
|
||||
# if defined(MSWIN)
|
||||
DWORD pid; /* PID of the connected cscope process. */
|
||||
HANDLE hProc; /* cscope process handle */
|
||||
DWORD nVolume; /* Volume serial number, instead of st_dev */
|
||||
|
Reference in New Issue
Block a user