aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-02-09 15:13:49 +0000
committerBruce Momjian <bruce@momjian.us>2001-02-09 15:13:49 +0000
commitcf516c3bb11046628c30ff938990f1887408ea31 (patch)
treee6cb62d115f6a6ac3d8891c72e25ef456031b30a
parent5a03b0c393bdd9d4a76a23a7562e5fe3e5fdc256 (diff)
downloadpostgresql-cf516c3bb11046628c30ff938990f1887408ea31.tar.gz
postgresql-cf516c3bb11046628c30ff938990f1887408ea31.zip
I have deleted the include of termios.h in include/port/qnx4.h.
Then I recompiled pgsql and I have compiled a program with ecpg. I have removed the termios.h, and the ECHO hack. Thanks Maurizio
-rw-r--r--src/include/port/qnx4.h1
-rw-r--r--src/interfaces/ecpg/preproc/pgc.l7
2 files changed, 1 insertions, 7 deletions
diff --git a/src/include/port/qnx4.h b/src/include/port/qnx4.h
index 54cbbb6fb36..b1069932b74 100644
--- a/src/include/port/qnx4.h
+++ b/src/include/port/qnx4.h
@@ -2,7 +2,6 @@
#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__)
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l
index 1467f67b9d0..091c60b96e0 100644
--- a/src/interfaces/ecpg/preproc/pgc.l
+++ b/src/interfaces/ecpg/preproc/pgc.l
@@ -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 $
*
*-------------------------------------------------------------------------
*/
@@ -35,11 +35,6 @@
#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;