Issues w/ timezones on gssftpd
philipp at redfish-solutions.com
Tue Nov 28 00:10:53 EST 2006
Russ Allbery wrote:
>Philip Prindeville <philipp at redfish-solutions.com> writes:
>>Well, __GLIBC__ isn't so much platform-specific as it is compiler and
>>run-time library specific, but I found a new patch that's simpler and
>>more portable (it uses __USE_POSIX_ instead, which is portable).
>I believe __USE_POSIX is an internal define used by glibc to selectively
>enable portions of the header files.
>The preferred way of handling issues like this is to probe, using
>Autoconf, for the presence or absence of the specific behavior or bug that
>one is trying to correct for, let Autoconf define an appropriate macro,
>and make the code conditional on that macro.
What about _POSIX_SOURCE ?
There has to be *some* standard compiler defined flag...
Is it reasonable to expect that everyone will be using autoconf
in all build environments? I remember that for the longest time,
autoconf was broken on HP-UX...
More information about the krbdev