Am 10.03.2014 um 17:31 schrieb Jérôme Duval <korli@xxxxxxxxxxxxxxxx>: > Only getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked > are POSIX compliant. > Other should be protected by checks for _GNU_SOURCE or _BSD_SOURCE as > appropriate. None of our headers does that _GNU_SOURCE madness, and I'm quite happy about that. Also, we had fputc_unlocked and there was no _GNU_SOURCE either. _GNU_SOURCE is the reason why I hate glibc and the single most reasons why standard-compliant software does not build with glibc. It *always* causes trouble. Let's not make Haiku's header as troublesome as glibc's ;). -- Jonathan