I have deleted the include of termios.h in include/port/qnx4.h.
authorBruce Momjian
Fri, 9 Feb 2001 15:13:49 +0000 (15:13 +0000)
committerBruce Momjian
Fri, 9 Feb 2001 15:13:49 +0000 (15:13 +0000)
Then I recompiled pgsql and I have compiled a program with ecpg.

I have removed the termios.h, and the ECHO hack.

Thanks
Maurizio

src/include/port/qnx4.h
src/interfaces/ecpg/preproc/pgc.l

index 54cbbb6fb36c4e6a0515e11fe09c7a4af1433911..b1069932b743d82d35914344707715c549342841 100644 (file)
@@ -2,7 +2,6 @@
 #include       /* for BYTE_ORDER */
 #include            /* for execv */
 #include              /* for unix.h */
-#include            /* for unix.h */
 #include 
 #include             /* for select */
 #if !defined(__GNUC__)
index 1467f67b9d09514cdedbb4d44d79b7f567d6c9b6..091c60b96e0cc80570db30c0a05ada099316fb41 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * 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;