This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [issue 1000636] tidy tm_basic max macro


Gary Thomas wrote:
> 
> Is/was the macro 'max()' defined someplace, maybe by a compiler, etc?
> Did this change, or how did we get away with this for a decade?

A compiler wouldn't have. We've got away with it because it was only used
to limit the maximum values of the various resources. It wouldn't really
cause problems as such. There was already magic there after all to ensure
it all fitted into CYGMEM_REGION_ram_SIZE.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]