Purpose of __USE_XOPEN2K8 and how to set it?
问题 I'm trying to compile the gtk stack (the last gtk2 version, 2.24), and I am getting a bunch of errors that seem related. Namely, the __locale_t can't be found from string.h and time.h, and LC_ALL_MASK can't be found either (should be in locale.h). I found that all of these problems are related to __USE_XOPEN2K8 not being #defined. What is __USE_XOPEN2K8 for, and how can I set it propertly? For example, do I have to pass a flag to ./configure for glib, gtk, ... or do I have to change something