mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: check for if struct timezone is defined.
* missing.h (struct timezone): define if not defined. * win32/win32.h (struct timezone): defined in the newer w32api. [ruby-core:27515] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
12d782749f
commit
23a4f81625
4 changed files with 25 additions and 4 deletions
|
@ -38,6 +38,13 @@ struct timespec {
|
|||
};
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_STRUCT_TIMEZONE)
|
||||
struct timezone {
|
||||
int tz_minuteswest;
|
||||
int tz_dsttime;
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef RUBY_EXTERN
|
||||
#define RUBY_EXTERN extern
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue