26692Re: mingw32 accctrl.h and patch (was Re: Patch 6.0.116 Failure)
- Jan 3, 2002On Wed, Jan 02, 2002 at 11:18:24PM +0100, Bram Moolenaar wrote:
>Sorry but I'm a bit irritated. Just having the file accctrl.h should
> 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).
be enough since aclapi.h actually includes accctrl.h already. Implicit
including in the source should be unnecessary.
> *** ../../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 ///
Red Hat, Inc.
- << Previous post in topic Next post in topic >>