emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs does not compile anymore in win32 with msvc6


From: Jason Rumney
Subject: Re: Emacs does not compile anymore in win32 with msvc6
Date: 08 Oct 2001 23:16:12 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107

Sam Steingold <address@hidden> writes:

> #if     !__STDC__
> #ifndef _POSIX_
> /* Non-ANSI names for compatibility */
> #ifndef __cplusplus
> #define max(a,b)    (((a) > (b)) ? (a) : (b))
> #define min(a,b)    (((a) < (b)) ? (a) : (b))
> #endif
> --------------------------------
> 
> windows.h does mention NOMINMAX in the comments, but stdlib.h ignores
> it.

But only if !__STDC__, which is not the case I think.

dispextern.h includes w32gui.h, maybe that is where the undefine is
coming from?


-- 
Jason Rumney





reply via email to

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