
21 Jun
2005
21 Jun
'05
2:03 p.m.
Toon Knapen wrote:
But this is a runtime-if. We need a compile-time if to avoid calling readdir_r when '-mt' is not used on the command-line.
Oh, and one more thing I forgot. This was pointed out in another reply already but I don't know if you tried it. Try defining _POSIX_C_SOURCE or _XOPEN_SOURCE to the maximum value supported on your system _before_ you include any header. There should be a standards man page for you to check this. HTH, Markus