26 Oct
2008
26 Oct
'08
10:52 p.m.
"Maarten Lankhorst" <m.b.lankhorst(a)gmail.com> wrote:
+#ifndef MIN +# define MIN(a,b) ((a) < (b) ? (a) : (b)) +#endif + /* use LoadString */ static const WCHAR wszAppTitle[] = {'W','i','n','e',' ','W','o','r','d','p','a','d',0};
Considering you only use this macro once, wouldn't it be better to just expand MIN?
There is no need to introduce MIN/MAX at all, windef.h provides min/max (notice lower case) already. -- Dmitry.