* common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a

compiler
	does not define these macros.
pull/1/head
Tatsuhiro Tsujikawa 2006-02-28 03:09:22 +00:00
parent 20ba8c707a
commit d770d1c40a
2 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,8 @@
* DownloadCommand.h: added #include directive of sys/time.h.
* *.h: added #include directive of common.h to all base classes.
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>

View File

@ -26,4 +26,9 @@
# include <config.h>
#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;