Guard langinfo.h nl_item from multiple typedefs
This is a prerequisite of adding nl_types.h support to Cygwin. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
parent
b7e0f286a2
commit
bd62f539de
|
@ -36,7 +36,10 @@
|
||||||
#include <xlocale.h>
|
#include <xlocale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _NL_ITEM_DECLARED
|
||||||
typedef int nl_item;
|
typedef int nl_item;
|
||||||
|
#define _NL_ITEM_DECLARED
|
||||||
|
#endif
|
||||||
|
|
||||||
enum __nl_item
|
enum __nl_item
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue