diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-03-21 23:21:30 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-03-22 12:03:45 +0300 |
commit | 90e35b1eb3df4070e68afc5e7060665214d586be (patch) | |
tree | cd53ed814b557915ae7f26dabff65221980dfe84 /winsup | |
parent | ffbfb332d628f97e3094dacecf3c42f8de07cd1f (diff) |
Rename <sys/_locale.h> to <xlocale.h>
The locale_t type is provided by <xlocale.h> on Linux, FreeBSD, and Darwin.
While, like on some of those systems, it is automatically included by
<locale.h> with the proper feature test macros, its presence under this
particular name is still presumed in real-world software.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/include/monetary.h | 2 | ||||
-rw-r--r-- | winsup/doc/new-features.xml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/include/monetary.h b/winsup/cygwin/include/monetary.h index 1c3479bd8..82a6312bf 100644 --- a/winsup/cygwin/include/monetary.h +++ b/winsup/cygwin/include/monetary.h @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #include <sys/types.h> #if __POSIX_VISIBLE >= 200809 -#include <sys/_locale.h> +#include <xlocale.h> #endif __BEGIN_DECLS diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index 185c97e1a..324d99d06 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -30,6 +30,11 @@ Pthread_cond_wait now acts like Linux and BSD: Resume waiting for the condition variable as if it was not interrupted, rather than returning 0. </para></listitem> +<listitem><para> +The internal <sys/_locale.h> header was renamed to <xlocale.h> for +source compatibility with other systems. +</para></listitem> + </itemizedlist> </sect2> |