Type uint64_t required but not found

Reid,

When configuring LLVM I get this error:

Well, if it doesn't break anything else, I'd fix the header file. The
standard type name is supposed to uint64_t not u_int64_t. I would just
change the header file to define both of them, something like:

typedef u_int64_t uint64_t;

You could do that in /usr/include/types.h, or we could add it to a
header file in llvm/include/Config, ifdef'd for Interix.

Reid.

Reid Spencer wrote:

Well, if it doesn't break anything else, I'd fix the header file. The
standard type name is supposed to uint64_t not u_int64_t. I would just
change the header file to define both of them, something like:

typedef u_int64_t uint64_t;

You could do that in /usr/include/types.h, or we could add it to a
header file in llvm/include/Config, ifdef'd for Interix.

I think that we should add a check for u_int64_t and do a typedef in llvm/include/Config (or something similar). I don't think we can expect Interix users to correct their header files (especially since the next Interix upgrade will just unfix it again).

-- John T.