On Sun, Feb 27, 2005 at 03:17:11AM -0600, Corey Halpin wrote:
> The attached patch will allow monotone-0.16 to compile on OpenBSD.
Thanks!
> diff monotone-0.16/change_set.cc monotone-0.16-patched/change_set.cc
> --- monotone-0.16/change_set.cc Fri Dec 31 02:16:50 2004
> +++ monotone-0.16-patched/change_set.cc Sun Feb 27 02:41:38 2005
> @@ -8,6 +8,10 @@
> // stdint.h. awesome.
> #define __STDC_CONSTANT_MACROS
>
> +#ifndef UINT64_C
> +#define UINT64_C(c) (c ## ULL)
> +#endif
> +
> #include <algorithm>
> #include <iterator>
> #include <iostream>
I'm not sure I should include this hunk -- the reason this is a macro
is that there is no suffix that is correct for all compilers, right?
Wouldn't it be better to have some configury for this?
Other hunks already committed.
-- Nathaniel
--
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould
|
|