зеркало из https://github.com/github/ruby.git
* time.c: should include <errno.h> to refer errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7dd42a48e1
Коммит
6a45f0a50e
|
@ -1,3 +1,7 @@
|
|||
Mon Apr 21 10:06:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* time.c: should include <errno.h> to refer errno.
|
||||
|
||||
Mon Apr 21 09:58:04 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* time.c (rb_strftime): check errno to detect strftime(3)'s error.
|
||||
|
|
1
time.c
1
time.c
|
@ -12,6 +12,7 @@
|
|||
#include "ruby/ruby.h"
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include "ruby/encoding.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
Загрузка…
Ссылка в новой задаче