mirror of https://github.com/aria2/aria2
* common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a
compiler does not define these macros.pull/1/head
parent
20ba8c707a
commit
d770d1c40a
|
@ -12,6 +12,8 @@
|
||||||
* DownloadCommand.h: added #include directive of sys/time.h.
|
* DownloadCommand.h: added #include directive of sys/time.h.
|
||||||
* *.h: added #include directive of common.h to all base classes.
|
* *.h: added #include directive of common.h to all base classes.
|
||||||
subclasses' one was removed.
|
subclasses' one was removed.
|
||||||
|
* common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a compiler
|
||||||
|
does not define these macros.
|
||||||
|
|
||||||
2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
|
|
@ -26,4 +26,9 @@
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef LONG_LONG_MAX
|
||||||
|
# define LONG_LONG_MAX 9223372036854775807LL
|
||||||
|
# define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL)
|
||||||
|
#endif // LONG_LONG_MAX
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
Loading…
Reference in New Issue