mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 22:32:12 +02:00
38862: strptime(3) requires _XOPEN_SOURCE on Cygwin
This commit is contained in:
parent
72e5fe7aab
commit
fff0080400
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-07-19 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 38862: Src/Modules/datetime.c: strptime(3) requires _XOPEN_SOURCE
|
||||
on Cygwin (newlib-2.4 or later)
|
||||
|
||||
2016-07-18 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 38879: Src/glob.c, Test/D07multibyte.ztst: Ensure file names
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#define _XOPEN_SOURCE
|
||||
#endif
|
||||
#include "datetime.mdh"
|
||||
#include "datetime.pro"
|
||||
#include <time.h>
|
||||
|
|
Loading…
Reference in a new issue