rfc: WIN32 vs _WIN32 and more

walter harms wharms at bfs.de
Fri May 17 21:07:09 UTC 2019

Am 17.05.2019 21:51, schrieb Thomas Dickey:
> On Fri, May 17, 2019 at 04:26:10PM +0200, walter harms wrote:
>> Am 17.05.2019 13:01, schrieb James Larrowe:
>>> I use _WIN32 or __WIN32__ depending on the context.
>> my idea was to reduce the number of defines :)
>> the problem is that i have no way to test what would happen if
>> i replace WIN32 with _WIN32.
>> So the question is left, is WIN32 still used ?
> sure - there was a recent update in Intrinsic.c which relies upon that slice.

Actually that made me investigate the use.
There is a single use for _WIN32 in NextEvent.c
making this to WIN32 would clean the table, but
i can not test.

#ifdef _WIN32
typedef long suseconds_t;


> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel

More information about the xorg-devel mailing list