commit | 1fe00275fd39bb68f902fd7d0b09b17570f1e07a | [log] [tgz] |
---|---|---|
author | Avery Pennarun <apenwarr@gmail.com> | Wed May 29 19:36:08 2013 -0400 |
committer | Avery Pennarun <apenwarr@gmail.com> | Wed May 29 19:56:54 2013 -0400 |
tree | 5f7139da19e9d0e349c0f3ae453bde0acb61ad18 | |
parent | 8c9cf40488b82d1bda7f6535c6298f90b4853364 [diff] |
Define LLONG_MAX on platforms that don't have it. Fixes builds with x86-64. Change-Id: I943126429eb2a428c6bd5e86272b37b0e72cb89b
diff --git a/dd.c b/dd.c index 5dbcf9a..1e6a3a8 100644 --- a/dd.c +++ b/dd.c
@@ -74,6 +74,10 @@ #include "dd.h" +#ifndef LLONG_MAX +#define LLONG_MAX (0x7fffffffffffffffLL) +#endif + #define NO_CONV //#include "extern.h"