Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cf516c3

Browse files
committed
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
1 parent 5a03b0c commit cf516c3

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/include/port/qnx4.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include <arpa/nameser.h> /* for BYTE_ORDER */
33
#include <process.h> /* for execv */
44
#include <ioctl.h> /* for unix.h */
5-
#include <termios.h> /* for unix.h */
65
#include <unix.h>
76
#include <sys/select.h> /* for select */
87
#if !defined(__GNUC__)

src/interfaces/ecpg/preproc/pgc.l

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.74 2001/02/02 18:21:59 momjian Exp $
15+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.75 2001/02/09 15:13:49 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -35,11 +35,6 @@
3535
#undef yywrap
3636
#endif /* yywrap */
3737

38-
#ifdef __QNX__
39-
/* For some reason, QNX needs this, bjm 2001-02-02 */
40-
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
41-
#endif
42-
4338
#define YY_NO_UNPUT
4439

4540
extern YYSTYPE yylval;

0 commit comments

Comments
 (0)