Re: Object naming conflict on nt branch

From: Robert Collins <robertc@dont-contact.us>
Date: 11 Mar 2003 21:41:43 +1100

On Tue, 2003-03-11 at 21:36, Guido Serassio wrote:

> Yes, but there is still a problem:
>
> max() and min() are already defined on Windows platform.

Ah, thats easy. Just protect their defines with
#ifndef max
...

#endif

and
#ifndef min
...
#endif

-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Received on Tue Mar 11 2003 - 03:41:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:32 MST