cleaning up Microsoft Windows ifdef'ery
noel at peralex.com
Wed Jan 27 05:33:49 PST 2016
I'm looking at the different ways we test for the Microsoft Windows platform using #if and #ifdef.
There appear to be several different ways of doing this in our codebase.
Here is a list of what we have, along with the number of times it occurs.
Of these, I think we need to keep:
_WIN32_WINNT to test for specific versions of Windows
_WIN32 for generic Windows-32-and-64-bit specific code
_WIN64 for generic Windows-64-bit specific code
More information about the LibreOffice