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

Commitae02cf3

Browse files
committed
Guard against macro versions of isblank().
1 parent35a0995 commitae02cf3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎src/backend/libpq/hba.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.96 2003/04/03 21:25:02 tgl Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.97 2003/04/12 22:28:33 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -70,8 +70,13 @@ static char *tokenize_inc_file(const char *inc_filename);
7070

7171
/*
7272
* Some standard C libraries, including GNU, have an isblank() function.
73-
* Others, including Solaris, do not. So we have our own.
73+
* Others, including Solaris, do not. So we have our own. Watch out for
74+
* macro-ized versions, too.
7475
*/
76+
#ifdefisblank
77+
#undef isblank
78+
#endif
79+
7580
staticbool
7681
isblank(constcharc)
7782
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp