Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcfe18a8

Browse files
committed
Remove from include/config.h:
#if defined(aix)#define TERMIOS_H_LOCATION <termios.h>#else#define TERMIOS_H_LOCATION <sys/termios.h>#endiflibpq/fe-exec.c modified so that location of termios.h is determinedby whether HAVE_TERMIOS_H is defined or not, in preparation for switchto configure
1 parent1ac3ea9 commitcfe18a8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎src/include/config.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@
88

99
#defineBLCKSZ8192
1010

11-
#if defined(aix)
12-
#defineTERMIOS_H_LOCATION <termios.h>
13-
#else
14-
#defineTERMIOS_H_LOCATION <sys/termios.h>
15-
#endif
16-
1711
#if !defined(nextstep)
1812
#defineUSE_VALUES_H
1913
#endif
2014

2115
#defineHAVE_MEMMOVE
16+
#defineHAVE_TERMIOS_H
2217

2318
#if defined(aix)
19+
# undef HAVE_TERMIOS_H
2420
# defineCLASS_CONFLICT
2521
# define DISABLE_XOPEN_NLS
2622
# defineNEED_ISINF

‎src/interfaces/libpq/fe-exec.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.27 1997/01/08 23:25:32 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.28 1997/01/24 17:47:33 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,11 @@
2222
#include"libpq/pqsignal.h"
2323
#include"libpq-fe.h"
2424
#include<sys/ioctl.h>
25-
#includeTERMIOS_H_LOCATION
25+
#ifndefHAVE_TERMIOS_H
26+
# include<sys/termios.h>
27+
#else
28+
# include<termios.h>
29+
#endif
2630

2731

2832
#ifdefTIOCGWINSZ

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp