Loading ...
Sorry, an error occurred while loading the content.

26692Re: mingw32 accctrl.h and patch (was Re: Patch 6.0.116 Failure)

Expand Messages
  • Corinna Vinschen
    Jan 3, 2002
      On Wed, Jan 02, 2002 at 11:18:24PM +0100, Bram Moolenaar wrote:
      >
      > Ron Aaron wrote:
      >
      > > Thanks for the helpful solution.
      > >
      > > Attached is a patch to os_win32.c, and the missing 'accctrl.h' file for
      > > mingw32 systems.
      >
      > Thanks. I'll include an alternate patch below. This avoids including
      > the file when not using ACL. And it adds a hint to find the include
      > file (I don't want to include the accctrl.h file with Vim).

      Sorry but I'm a bit irritated. Just having the file accctrl.h should
      be enough since aclapi.h actually includes accctrl.h already. Implicit
      including in the source should be unnecessary.

      Corinna

      >
      > *** ../../vim60.118/src/os_win32.c Tue Jan 1 21:13:14 2002
      > --- os_win32.c Wed Jan 2 22:10:11 2002
      > ***************
      > *** 327,332 ****
      > --- 327,338 ----
      >
      > #ifdef HAVE_ACL
      > # include <aclapi.h>
      > + # ifdef __MINGW32__
      > + /* Unfortunately, accctrl.h is not in the mingw32 distribution, try
      > + * getting it from a Cygwin distribution. Or look in the archive for the
      > + * vimdev maillist (January 2002). */
      > + # include "accctrl.h"
      > + # endif
      > /*
      > * These are needed to dynamically load the ADVAPI DLL, which is not
      > * implemented under Windows 95 (and causes VIM to crash)
      >
      > --
      > Not too long ago, unzipping in public was illegal...
      >
      > /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      > ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
      > \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///

      --
      Corinna Vinschen
      Cygwin Developer
      Red Hat, Inc.
      mailto:vinschen@...
    • Show all 16 messages in this topic