mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Fix uppercase TRUE/FALSE that are WIN32 stuffl.
This commit is contained in:
parent
186bbaab06
commit
35c8983371
@ -16,7 +16,7 @@
|
|||||||
* Copyright (c) 2003-2005, PostgreSQL Global Development Group
|
* Copyright (c) 2003-2005, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/port/getaddrinfo.c,v 1.19 2005/08/25 17:51:01 tgl Exp $
|
* $PostgreSQL: pgsql/src/port/getaddrinfo.c,v 1.20 2005/10/13 23:22:11 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -68,7 +68,7 @@ static bool
|
|||||||
haveNativeWindowsIPv6routines(void)
|
haveNativeWindowsIPv6routines(void)
|
||||||
{
|
{
|
||||||
void *hLibrary = NULL;
|
void *hLibrary = NULL;
|
||||||
static bool alreadyLookedForIpv6routines = FALSE;
|
static bool alreadyLookedForIpv6routines = false;
|
||||||
|
|
||||||
if (alreadyLookedForIpv6routines)
|
if (alreadyLookedForIpv6routines)
|
||||||
return (getaddrinfo_ptr != NULL);
|
return (getaddrinfo_ptr != NULL);
|
||||||
@ -126,7 +126,7 @@ haveNativeWindowsIPv6routines(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alreadyLookedForIpv6routines = TRUE;
|
alreadyLookedForIpv6routines = true;
|
||||||
return (getaddrinfo_ptr != NULL);
|
return (getaddrinfo_ptr != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user