mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #5277] mingw: remove ml_gettimeofday() - mingw-r


From: Schlumpf
Subject: [Mldonkey-users] [patch #5277] mingw: remove ml_gettimeofday() - mingw-runtime-3.10 is needet !!
Date: Sun, 6 Aug 2006 22:20:33 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

Follow-up Comment #4, patch #5277 (project mldonkey):

-->>
The solution now in CVS leaves the possibility to compile
MLDonkey with older versions of MinGW.
<<--

if you think the way to go is to let mldonkey compileable from an older and
buggy environment instead of fix this and make the proper changes (delete
unnecassary code) to clean up the code from lengthy solutions is it ok for
me.

by the way, after any time do you really think of it to make this changes
sometime in future? ..... i think not


finally,
functions related to any os should be started with os_ not with ml_

the way to go for *your* solution is to call os_gettimeofday() in stubs_c.c
without any '#if defined (__MINGW32__)' (for such things we have the
os_stubs_c.c files)
and add os_gettimeofday() to config/unix/os_stubs_c.c wich called the real
gettimeofday() function for unix.
Then change the ml_gettimeofday() in config/mingw/os_stubs_c.c to
os_gettimeofday()
i think that would be the right (but nonetheless wrong) way

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=5277>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]