mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
C comments: remove odd blank lines after #ifdef WIN32 lines
This commit is contained in:
@@ -144,7 +144,6 @@ getaddrinfo(const char *node, const char *service,
|
||||
struct addrinfo hints;
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* If Windows has native IPv6 support, use the native Windows routine.
|
||||
* Otherwise, fall through and use our own code.
|
||||
@@ -267,7 +266,6 @@ freeaddrinfo(struct addrinfo * res)
|
||||
if (res)
|
||||
{
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* If Windows has native IPv6 support, use the native Windows routine.
|
||||
* Otherwise, fall through and use our own code.
|
||||
@@ -359,7 +357,6 @@ getnameinfo(const struct sockaddr * sa, int salen,
|
||||
char *service, int servicelen, int flags)
|
||||
{
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* If Windows has native IPv6 support, use the native Windows routine.
|
||||
* Otherwise, fall through and use our own code.
|
||||
|
@@ -32,7 +32,6 @@ int
|
||||
getrusage(int who, struct rusage * rusage)
|
||||
{
|
||||
#ifdef WIN32
|
||||
|
||||
FILETIME starttime;
|
||||
FILETIME exittime;
|
||||
FILETIME kerneltime;
|
||||
|
@@ -222,7 +222,6 @@ canonicalize_path(char *path)
|
||||
int pending_strips;
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* The Windows command processor will accept suitably quoted paths with
|
||||
* forward slashes, but barfs badly with mixed forward and back slashes.
|
||||
@@ -372,7 +371,6 @@ path_is_relative_and_below_cwd(const char *path)
|
||||
else if (path_contains_parent_reference(path))
|
||||
return false;
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* On Win32, a drive letter _not_ followed by a slash, e.g. 'E:abc', is
|
||||
* relative to the cwd on that drive, or the drive's root directory if
|
||||
|
@@ -57,7 +57,6 @@ simple_prompt(const char *prompt, int maxlen, bool echo)
|
||||
return NULL;
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* A Windows console has an "input code page" and an "output code page";
|
||||
* these usually match each other, but they rarely match the "Windows ANSI
|
||||
@@ -86,7 +85,6 @@ simple_prompt(const char *prompt, int maxlen, bool echo)
|
||||
#endif
|
||||
if (!termin || !termout
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* Direct console I/O does not work from the MSYS 1.0.10 console. Writes
|
||||
* reach nowhere user-visible; reads block indefinitely. XXX This affects
|
||||
|
Reference in New Issue
Block a user