mirror of https://github.com/aria2/aria2
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Defined struct timespec if it is not available. * src/a2time.hpull/1/head
parent
5feb750f22
commit
a605048900
|
@ -1,3 +1,8 @@
|
|||
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Defined struct timespec if it is not available.
|
||||
* src/a2time.h
|
||||
|
||||
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added missing serialize_session.meta4 to EXTRA_DIST
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
# define CLOCK_MONOTONIC 0
|
||||
#endif // !CLOCK_MONOTONIC
|
||||
#ifndef HAVE_STRUCT_TIMESPEC
|
||||
# define timespec int
|
||||
struct timespec { time_t tv_sec; long tv_nsec; };
|
||||
#endif // !HAVE_STRUCT_TIMESPEC
|
||||
#ifndef HAVE_CLOCK_GETTIME
|
||||
# define clock_gettime(ID, TP) (-1)
|
||||
|
|
Loading…
Reference in New Issue