Hi,

Yukihiro Matsumoto <matz / ruby-lang.org> writes:

:|*) is time.c:search_time_t() used?
:
:On some platforms.

How about #if ... #endif?

Index: time.c =================================================================== RCS file: /src/ruby/time.c,v retrieving revision 1.58 diff -u -r1.58 time.c --- time.c 2002/05/29 05:20:33 1.58 +++ time.c 2002/05/29 06:06:37 @@ -323,6 +323,7 @@ static VALUE time_localtime _((VALUE)); static VALUE time_get_tm _((VALUE, int)); +#if !defined HAVE_TIMEGM static int tmcmp(a, b) struct tm *a; @@ -573,6 +574,7 @@ rb_raise(rb_eArgError, "gmtime/localtime error"); return 0; /* not reached */ } +#endif static time_t make_time_t(tptr, utc_p)