[FIX] Cross-compilation failure using MinGW on Linux for ImageMagick trunk

"Ashish Kulkarni" <[email protected]> 19 Dec 2008 19:26:27 -0000
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
Hello,

There is a failure when cross compiling ImageMagick using MinGW on Linux. The problem is straightforward: magick/nt-base.c started including <NTSecAPI.h> in r10291 -- however as the filesystem is case sensitive in this scenario it fails to compile. Changing the include from

#include <NTSecAPI.h>

to

#include <ntsecapi.h>

fixes the problem. This shouldn't cause a problem on the Windows builds as the filesystem is case-insensitive.

Thanks,
Ashish