updated for version 7.3.1268 v7.3.1268
authorBram Moolenaar <Bram@vim.org>
Sat, 29 Jun 2013 13:40:04 +0000 (15:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 29 Jun 2013 13:40:04 +0000 (15:40 +0200)
Problem:    ACL support doesn't work when when compiled with MingW.
Solution:   Support ACL on MingW. (Ken Takata)

src/os_win32.c
src/os_win32.h
src/version.c

index 9d4ae0b934206dfa2f5e6afa14f18be470eda20a..421a164c50ca912460622d8531154a3b946125b5 100644 (file)
@@ -489,15 +489,15 @@ DWORD g_PlatformId;
  * These are needed to dynamically load the ADVAPI DLL, which is not
  * implemented under Windows 95 (and causes VIM to crash)
  */
-typedef DWORD (WINAPI *PSNSECINFO) (LPSTR, enum SE_OBJECT_TYPE,
+typedef DWORD (WINAPI *PSNSECINFO) (LPSTR, SE_OBJECT_TYPE,
        SECURITY_INFORMATION, PSID, PSID, PACL, PACL);
-typedef DWORD (WINAPI *PGNSECINFO) (LPSTR, enum SE_OBJECT_TYPE,
+typedef DWORD (WINAPI *PGNSECINFO) (LPSTR, SE_OBJECT_TYPE,
        SECURITY_INFORMATION, PSID *, PSID *, PACL *, PACL *,
        PSECURITY_DESCRIPTOR *);
 # ifdef FEAT_MBYTE
-typedef DWORD (WINAPI *PSNSECINFOW) (LPWSTR, enum SE_OBJECT_TYPE,
+typedef DWORD (WINAPI *PSNSECINFOW) (LPWSTR, SE_OBJECT_TYPE,
        SECURITY_INFORMATION, PSID, PSID, PACL, PACL);
-typedef DWORD (WINAPI *PGNSECINFOW) (LPWSTR, enum SE_OBJECT_TYPE,
+typedef DWORD (WINAPI *PGNSECINFOW) (LPWSTR, SE_OBJECT_TYPE,
        SECURITY_INFORMATION, PSID *, PSID *, PACL *, PACL *,
        PSECURITY_DESCRIPTOR *);
 # endif
index ce6f6d4936ca0bc959d4fca9dceba8ea633926ab..42cbab5950e1f1c3e8fd67b7058e3a2d7c85a51b 100644 (file)
 
 #define FEAT_SHORTCUT          /* resolve shortcuts */
 
-#if !defined(__MINGW32__) \
-       && !defined(__CYGWIN__) \
-       && (!defined(__BORLANDC__) || __BORLANDC__ >= 0x550) \
+#if (!defined(__BORLANDC__) || __BORLANDC__ >= 0x550) \
        && (!defined(_MSC_VER) || _MSC_VER > 1020)
 /*
  * Access Control List (actually security info).
- * Mingw and Cygwin don't have the acl stuff.
- * Borland only in version 5.5 and later.
+ * Borland has the acl stuff only in version 5.5 and later.
  * MSVC in 5.0, not in 4.2, don't know about 4.3.
  */
 # define HAVE_ACL
index d554cd6017daa9f6c64e8427fe96ae68ce6c81f5..463098792f97007adffde9519b5ef9188ee5d433 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1268,
 /**/
     1267,
 /**/