mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
time.c: can't compile time.c on AIX due to missing declaration for
ffs(). It is declared in strings.h on AIX. If I need to add something like '&& defined(_AIX)', please let me know. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f078ced91f
commit
2a5aa8cdaa
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jul 11 23:22:28 2011 Yutaka Kanemoto <kanemoto@ruby-lang.org>
|
||||
|
||||
* time.c: can't compile time.c on AIX due to missing declaration for
|
||||
ffs(). It is declared in strings.h on AIX.
|
||||
|
||||
Mon Jul 11 15:54:24 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* process.c: removed signal() macro. It's no longer used.
|
||||
|
|
4
time.c
4
time.c
|
@ -23,6 +23,10 @@
|
|||
#include <float.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include "timev.h"
|
||||
|
||||
static ID id_divmod, id_mul, id_submicro, id_nano_num, id_nano_den, id_offset;
|
||||
|
|
Loading…
Reference in a new issue