WinCore.h breaks min() max() macros
Brought to you by:
david_nash
WinCore.h undefs min and max, replacing them with inlined functions:
inline int min(int a, int b) {return a<b? a:b;}
inline int max(int a, int b) {return a<b? a:b;}
This breaks min() and max() macros defined in WinDef.h, (included by windows.h) for all types except int.
Is this really needed?
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Logged In: YES
user_id=1233937
Originator: NO
Macros are used to define min and max as of version 5.6