*wince/time_wce.c (time): add zero check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
77d7066abe
commit
3ea7376bca
@ -1,3 +1,7 @@
|
||||
Wed Oct 01 08:02:52 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
|
||||
|
||||
*wince/time_wce.c (time): add zero check.
|
||||
|
||||
Tue Sep 30 11:29:23 2003 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* process.c (pst_inspect): describe stopped process "stopped".
|
||||
|
@ -142,6 +142,8 @@ time_t time( time_t *timer )
|
||||
SYSTEMTIME s;
|
||||
FILETIME f;
|
||||
|
||||
if( timer==NULL ) return 0;
|
||||
|
||||
GetSystemTime( &s );
|
||||
|
||||
SystemTimeToFileTime( &s, &f );
|
||||
|
Loading…
x
Reference in New Issue
Block a user