Am 08.09.2015 um 23:15 schrieb Siarhei Siamashka:
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html"To allow code that requires _BSD_SOURCE in glibc 2.19 and earlier and _DEFAULT_SOURCE in glibc 2.20 and later to compile without warnings, define both _BSD_SOURCE and _DEFAULT_SOURCE." So we just need to define both.
Oh, heck. Glad you caught that, of course I hadn't tested with with older glibc.
Sigh. I wonder who has come up with this ridiculous rename idea in the first place? Now suddenly there is some work to do for us and the others, which serves no real purpose...
Agreed - especially with the need to define both it seems rather pointless.
It might be even better to just reimplement the non-portable htole32 and letoh32 functions. They only need a few lines of code and the speed of the operations done with their help is not critical to us. But I'm not really asking you to do this right now.
Yeah, I don't feel overly motivated to patch that in at this moment. Let's place the _DEFAULT_SOURCE and be done with it for now. Regards, B. Nortmann -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
