Am 10.03.2014 um 18:28 schrieb Jérôme Duval <korli@xxxxxxxxxxxxxxxx>: > You know there is a reason to add this check, right? It doesn't make > me happy either... Yes, the idea was that you define the standard you want to use to make sure the functions you use behave according to that standard. The problem is: Everybody has a different definition as to which standard describes that function. E.g. everybody has a different opinion on what _POSIX_C_SOURCE version or _XOPEN_SOURCE version you need. So the end result is that the function you want to use is not defined, because operating system A has the opinion that this belongs to XOPEN while operating system B has the opinion that this belongs to POSIX. The end result is that many define _GNU_SOURCE to mean "everything that exists", rendering the whole point of the defines meaningless. -- Jonathan