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:

https://stackoverflow.com/questions/662084/whats-the-difference-between-the-win32-and-win32-defines-in-c


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).
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to