emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w32 build fails with mingw runtime 3.6


From: Kim F. Storm
Subject: Re: w32 build fails with mingw runtime 3.6
Date: Thu, 13 Jan 2005 14:32:03 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Alejandro López-Valencia <address@hidden> writes:

> Mingw Runtime 3.6 provides definitions for S_ISLNK, _S_ISLNK, S_IFLNK,
> _S_IFLNK and _lstat. Most of these definitions are non-functional, and
> break fileio.c.
>
> I am attaching a diff with the modifications I used to build CVS HEAD as
> of January 12. I'm not sure it is the proper solution to the problem,
> though.


> -#ifdef S_ISLNK
> +#if defined(S_ISLNK) && !defined(__MINGW32__)

It would be more consitent with emacs coding practice if you put a
define like this in the relevant src/s/???.h header file:

#if defined(__MINGW32__)
#define BROKEN_S_ISLNK 1
#endif


and then use tests like this:

> +#if defined(S_ISLNK) && !defined(BROKEN_S_ISLNK)

etc.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]