diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-12 21:54:47 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-12 21:54:47 +0000 |
| commit | a0006c109c518b3bd395d33d458e50808b84e87f (patch) | |
| tree | 46b43e0632dd0f7a41c0099d03a48e1718cac66c /missing.h | |
| parent | 51e3a6b5259faa47392bea943b9c4c4109fe36cd (diff) | |
* 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/branches/ruby_1_8@26311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing.h')
| -rw-r--r-- | missing.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -25,6 +25,13 @@ struct timeval { # include <sys/types.h> #endif +#if !defined(HAVE_STRUCT_TIMEZONE) +struct timezone { + int tz_minuteswest; + int tz_dsttime; +}; +#endif + #ifndef RUBY_EXTERN #define RUBY_EXTERN extern #endif |
