summaryrefslogtreecommitdiff
path: root/src/if_cscope.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-17 17:44:42 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-17 17:44:42 +0100
commit4f97475d326c2773a78561fb874e4f23c25cbcd9 (patch)
tree7e066bc70556dfbb415ddb9f364e8432e8aaf189 /src/if_cscope.h
parent78d21dae9c3a39efb30316d3e38dce120bc1abbd (diff)
downloadvim-git-4f97475d326c2773a78561fb874e4f23c25cbcd9.tar.gz
patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941
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)
Diffstat (limited to 'src/if_cscope.h')
-rw-r--r--src/if_cscope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_cscope.h b/src/if_cscope.h
index 419c46946..6f3b02dbd 100644
--- a/src/if_cscope.h
+++ b/src/if_cscope.h
@@ -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 */