mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 05:00:59 +01:00
24867: _XOPEN_SOURCE -> _XOPEN_SOURCE_EXTENDED
This commit is contained in:
parent
2b84984769
commit
ed1029afab
2 changed files with 10 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
2008-04-23 Peter Stephenson <pws@csr.com>
|
2008-04-23 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 24867: Src/system.h: looks like we need _XOPEN_SOURCE_EXTENDED
|
||||||
|
instead of just _XOPEN_SOURCE.
|
||||||
|
|
||||||
* 24865: Src/zle_vi.c: bad character adjustment in
|
* 24865: Src/zle_vi.c: bad character adjustment in
|
||||||
vireplacechars().
|
vireplacechars().
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,8 +56,13 @@
|
||||||
# define _XOPEN_SOURCE_EXTENDED 1
|
# define _XOPEN_SOURCE_EXTENDED 1
|
||||||
#else
|
#else
|
||||||
# ifdef MULTIBYTE_SUPPORT
|
# ifdef MULTIBYTE_SUPPORT
|
||||||
/* Needed for wcwidth() which is part of XSI */
|
/*
|
||||||
# define _XOPEN_SOURCE 1
|
* Needed for wcwidth() which is part of XSI.
|
||||||
|
* Various other uses of the interface mean we can't get away with just
|
||||||
|
* _XOPEN_SOURCE.
|
||||||
|
*/
|
||||||
|
/*# define _XOPEN_SOURCE 1*/
|
||||||
|
# define _XOPEN_SOURCE_EXTENDED 1
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue