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

Commitc9acd2d

Browse files
committed
Remove getopt configure check.
1 parent44bc7ab commitc9acd2d

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

‎src/configure.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ AC_CHECK_HEADERS(dld.h)
582582
AC_CHECK_HEADERS(endian.h)
583583
AC_CHECK_HEADERS(float.h)
584584
AC_CHECK_HEADERS(fp_class.h)
585-
AC_CHECK_HEADERS(getopt.h)
586585
AC_CHECK_HEADERS(history.h)
587586
AC_CHECK_HEADERS(ieeefp.h)
588587
AC_CHECK_HEADERS(limits.h)

‎src/include/config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@
235235
/* Set to 1 if you have <fp_class.h> */
236236
#undef HAVE_FP_CLASS_H
237237

238-
/* Set to 1 if you have <fp_class.h> */
239-
#undef HAVE_GETOPT
240-
241238
/* Set to 1 if you have <history.h> */
242239
#undef HAVE_HISTORY_H
243240

‎src/interfaces/ecpg/preproc/ecpg.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
/* (C) Michael Meskes <meskes@debian.org> Feb 5th, 1998 */
33
/* Placed under the same copyright as PostgresSQL */
44

5+
#include<unistd.h>
56
#include"postgres.h"
67

7-
#ifdefHAVE_GETOPT_H
8-
#include<getopt.h>
9-
#else
10-
#include<unistd.h>
11-
externintoptind;
12-
externchar*optarg;
8+
#ifdef__CYGWIN32__
9+
#include"getopt.h"
1310
#endif
1411

1512
#include"extern.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp