Re: kitgen report

"Brian Theado" <[email protected]>
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
On 1/25/07, Jean-Claude Wippler <[email protected]> wrote:
[...]
> You could manually replace the include file reference on Solaris if
> you know what two typedef's to insert instead.  My guess would be:
>         typedef long long int64_t;
>         typedef long intptr_t;
>
> Hm, maybe you'll also need to insert this:
>         typedef unsigned char uint8_t;
>
> If there's a #define for sparc/solaris/sunos, I could add it as quick
> workaround.

I just tried building vlerq on Solaris 8 with this fix and I found the
types are in unistd.h.  Unistd.h is already included in vlerq.c, but
after the types are referenced.  Using the following code, I could
build vlerq:

#if __sparc__
#include <unistd.h>
#else
#include <stdint.h>
/* on OpenBSD, use this line instead: typedef int intptr_t; */
#endif

Brian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.