Hi, Oleksandr!

On Mar 29, Oleksandr Byelkin wrote:
>
> [skip]
>>>> + #ifdef _WIN32
>>>
>>> In the rest of my_global.h we use __WIN__
>>> Wouldn't it be better to use the same constant everywhere?
>>
>> Yes, it would. And this constant should be _WIN32, __WIN__ was
>> historically used, but it's incorrect - as was explained by our windows
>> developers. I've just used the "recommended" symbol.
>
> If we both was confused by this maybe it has sense t put comment here...

where ? every time _WIN32 is used ?

No need to be confused, see for example
http://predef.sourceforge.net/preos.html#sec24
or
http://msdn.microsoft.com/en-us/library/b0084kay%28VS.80%29.aspx

Regards,
Sergei

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to