mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
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
This commit is contained in:
parent
5a03b0c393
commit
cf516c3bb1
@ -2,7 +2,6 @@
|
|||||||
#include <arpa/nameser.h> /* for BYTE_ORDER */
|
#include <arpa/nameser.h> /* for BYTE_ORDER */
|
||||||
#include <process.h> /* for execv */
|
#include <process.h> /* for execv */
|
||||||
#include <ioctl.h> /* for unix.h */
|
#include <ioctl.h> /* for unix.h */
|
||||||
#include <termios.h> /* for unix.h */
|
|
||||||
#include <unix.h>
|
#include <unix.h>
|
||||||
#include <sys/select.h> /* for select */
|
#include <sys/select.h> /* for select */
|
||||||
#if !defined(__GNUC__)
|
#if !defined(__GNUC__)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
#undef yywrap
|
||||||
#endif /* 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
|
#define YY_NO_UNPUT
|
||||||
|
|
||||||
extern YYSTYPE yylval;
|
extern YYSTYPE yylval;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user