[antlr-interest] [SOLVED] ANTLR3 C runtime in HP-UX

Hugo Picado hugo.pcd at gmail.com
Mon Oct 12 02:38:57 PDT 2009


Hi,

When compiling libantlr3c-3.2 in HP-UX it gives the following error:

Error 172: "src/antlr3debughandlers.c", line 302 # Undeclared variable
'TCP_NODELAY'.
                    setsockopt(delboy->socket, SOL_SOCKET, TCP_NODELAY,
(const void *)&optVal, sizeof(optVal));


To solve this problem it is enough to have the following include in the file
src/antlr3debughandlers.c:

#include  <netinet/tcp.h>


Terence, please consider this in a next release.

Best regards,
Hugo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091012/83f9f167/attachment.html 


More information about the antlr-interest mailing list