
26 Nov
2005
26 Nov
'05
3:07 a.m.
Am Freitag, 25. November 2005 14:38 schrieb Simon Marlow:
[...] If you want to make it clearer, then add new CPP symbols
WIN32_UNICODE_FILENAMES WIN32_64BIT_OFFSETS
these can be set based on mingw32_HOST_OS for now, but it leaves the possibility of using autoconf later. [...]
Perfect solution for a lazy programmer... ;-) More seriously: Perhaps I was a bit unclear, I don't propose to use an autoconf test for each and every tiny detail. Using feature-based #ifdefs and #defining them manually in a single well-known place based on the platform is often enough. Avoiding the annoying "What the hell does this #ifdef really test??"-questions is the point here... Cheers, S.