Then I recompiled pgsql and I have compiled a program with ecpg.
I have removed the termios.h, and the ECHO hack.
Thanks
Maurizio
#include <arpa/nameser.h> /* for BYTE_ORDER */
#include <process.h> /* for execv */
#include <ioctl.h> /* for unix.h */
-#include <termios.h> /* for unix.h */
#include <unix.h>
#include <sys/select.h> /* for select */
#if !defined(__GNUC__)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.74 2001/02/02 18:21:59 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.75 2001/02/09 15:13:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#undef yywrap
#endif /* yywrap */
-#ifdef __QNX__
-/* For some reason, QNX needs this, bjm 2001-02-02 */
-#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
-#endif
-
#define YY_NO_UNPUT
extern YYSTYPE yylval;