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 | 23a4f81625f2d950f8045145f22d2680b0d96b02 (patch) | |
tree | 781c390ad6f5db63508850c236cdee1e7e29f7c9 /include/ruby/win32.h | |
parent | 12d782749fb6627750b4e6df69fdf3466857c709 (diff) | |
download | ruby-23a4f81625f2d950f8045145f22d2680b0d96b02.tar.gz |
* 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
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r-- | include/ruby/win32.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 5f0501aa55..aa8b2c26ce 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -197,11 +197,9 @@ extern int rb_w32_fstat(int, struct stat *); #define strncasecmp _strnicmp #define fsync _commit +struct timezone; + #ifdef __MINGW32__ -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; #undef isascii #define isascii __isascii #endif |