rfc: WIN32 vs _WIN32 and more
wharms at bfs.de
Tue May 21 15:59:13 UTC 2019
Am 20.05.2019 21:09, schrieb Jon Turney:
> On 17/05/2019 21:00, Thomas Dickey wrote:
>> On Fri, May 17, 2019 at 10:08:47AM +0200, walter harms wrote:
>>> Hi list,
>>> is there a common ground for using OS related defines ?
>>> I was look at some libs and found some defines that
>>> look pretty ancient. And some like
>>> WIN32 vs _WIN32
>> however, they're distinct:
> Yeah, it's a total mess.
> IMHO, _WIN32 is the 'correct' thing to test on, since it's in the
> implementation reserved namespace (since it starts with an underscore).
may goal was it to reduce the number of defines, WIN32 is special because we
have two close related symbols. Can you try to replace WIN32 with _WIN32 and
see what happens ?
More information about the xorg-devel