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

Commitdd67707

Browse files
committed
Small WIN32_CLIENT_ONLY cleanup for new build patch.
1 parentb534a56 commitdd67707

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/port/exec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/port/exec.c,v 1.27 2004/09/2722:11:23 momjian Exp $
10+
* $PostgreSQL: pgsql/src/port/exec.c,v 1.28 2004/09/2723:58:09 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,7 @@
2222
#include<pwd.h>
2323
#include<sys/stat.h>
2424
#include<sys/wait.h>
25-
#if !defined(_MSC_VER)&& !defined(__BORLANDC__)
25+
#ifndefWIN32_CLIENT_ONLY
2626
#include<unistd.h>
2727
#endif
2828

@@ -178,7 +178,7 @@ find_my_exec(const char *argv0, char *retpath)
178178
test_path[MAXPGPATH];
179179
char*path;
180180

181-
#if !defined(_MSC_VER)&& !defined(__BORLANDC__)
181+
#ifndefWIN32_CLIENT_ONLY
182182
if (!getcwd(cwd,MAXPGPATH))
183183
#else
184184
if (!GetCurrentDirectory(MAXPGPATH,cwd))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp