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

Commit8eafe40

Browse files
committed
Fix silly definition order in config.h --- we had prototypes like
extern int inet_aton(const char *cp, struct in_addr * addr);appearing before the optional #define for const, which was certainto fail on a machine with neither const nor inet_aton().
1 parent07d2c3e commit8eafe40

File tree

1 file changed

+36
-43
lines changed

1 file changed

+36
-43
lines changed

‎src/include/config.h.in

Lines changed: 36 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* or in config.h afterwards. Of course, if you edit config.h, then your
99
* changes will be overwritten the next time you run configure.
1010
*
11-
* $Id: config.h.in,v 1.111 2000/03/3005:29:21 tgl Exp $
11+
* $Id: config.h.in,v 1.112 2000/04/14 03:05:35 tgl Exp $
1212
*/
1313

1414
#ifndefCONFIG_H
@@ -61,26 +61,6 @@
6161
*/
6262
#defineRELSEG_SIZE(0x40000000 / BLCKSZ)
6363

64-
/* Set to 1 if you want to USE_LOCALE */
65-
#undef USE_LOCALE
66-
67-
/* Set to 1 if you want CYR_RECODE (cyrillic recode) */
68-
#undef CYR_RECODE
69-
70-
/* Set to 1 if you want to use multibyte characters */
71-
#undef MULTIBYTE
72-
73-
/* Set to 1 if you want to Enable ASSERT CHECKING */
74-
#undef USE_ASSERT_CHECKING
75-
76-
/*
77-
* DEF_PGPORT is the TCP port number on which the Postmaster listens by
78-
* default. This can be overriden by command options, environment variables,
79-
* and the postconfig hook. (now set by configure script)
80-
*/
81-
82-
#undef DEF_PGPORT
83-
8464
/*
8565
* As soon as the backend blocks on a lock, it waits this number of seconds
8666
* before checking for a deadlock.
@@ -221,20 +201,47 @@
221201
*/
222202
#defineDEFAULT_MAX_EXPR_DEPTH10000
223203

224-
/*
225-
* Leftover cruft for enabling long-since-verified patches.
226-
* You don't want to touch these.
227-
*/
228-
#defineINDEXSCAN_PATCH
229-
#define FUNC_UTIL_PATCH
230-
231204

232205
/*
233206
*------------------------------------------------------------------------
234207
* Everything past here is set by the configure script.
235208
*------------------------------------------------------------------------
236209
*/
237210

211+
/* Set to 1 if you want to USE_LOCALE */
212+
#undef USE_LOCALE
213+
214+
/* Set to 1 if you want CYR_RECODE (cyrillic recode) */
215+
#undef CYR_RECODE
216+
217+
/* Set to 1 if you want to use multibyte characters */
218+
#undef MULTIBYTE
219+
220+
/* Set to 1 if you want to Enable ASSERT CHECKING */
221+
#undef USE_ASSERT_CHECKING
222+
223+
/*
224+
* DEF_PGPORT is the TCP port number on which the Postmaster listens by
225+
* default. This can be overriden by command options, environment variables,
226+
* and the postconfig hook. (now set by configure script)
227+
*/
228+
#undef DEF_PGPORT
229+
230+
/* Define const as empty if your compiler doesn't grok const. */
231+
#undef const
232+
233+
/* Define as your compiler's spelling of "inline", or empty if no inline. */
234+
#undef inline
235+
236+
/* Define signed as empty if your compiler doesn't grok "signed char" etc */
237+
#undef signed
238+
239+
/* Define volatile as empty if your compiler doesn't grok volatile. */
240+
#undef volatile
241+
242+
/* Define if your cpp understands the ANSI stringizing operators in macros */
243+
#undef HAVE_STRINGIZE
244+
238245
/* Set to 1 if you have <arpa/inet.h> */
239246
#undef HAVE_ARPA_INET_H
240247

@@ -348,6 +355,7 @@
348355
#undef HAVE_FP_CLASS_H
349356
#undef HAVE_FP_CLASS_D
350357
#undef HAVE_CLASS
358+
351359
#undef HAVE_ISINF
352360
#ifndefHAVE_ISINF
353361
intisinf(doublex);
@@ -508,21 +516,6 @@ extern void srandom(unsigned int seed);
508516
#undef ALIGNOF_DOUBLE
509517
#undef MAXIMUM_ALIGNOF
510518

511-
/* Define const as empty if your compiler doesn't grok const. */
512-
#undef const
513-
514-
/* Define as your compiler's spelling of "inline", or empty if no inline. */
515-
#undef inline
516-
517-
/* Define signed as empty if your compiler doesn't grok "signed char" etc */
518-
#undef signed
519-
520-
/* Define volatile as empty if your compiler doesn't grok volatile. */
521-
#undef volatile
522-
523-
/* Define if your cpp understands the ANSI stringizing operators in macros */
524-
#undef HAVE_STRINGIZE
525-
526519
/* Define as the base type of the last arg to accept */
527520
#undef SOCKET_SIZE_TYPE
528521

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp