Skip to content

Commit e81cbc2

Browse files
committed
Adjust defines to be consistent.
1 parent cb50ee2 commit e81cbc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/port/dirmod.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.16 2004/08/08 03:51:20 momjian Exp $
13+
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.17 2004/08/08 05:04:41 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -203,11 +203,11 @@ pgsymlink(const char *oldpath, const char *newpath)
203203
NULL, GetLastError(),
204204
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
205205
(LPSTR)&msg, 0, NULL );
206-
#ifdef FRONTEND
207-
fprintf(stderr, "Error setting junction for %s: %s", nativeTarget, msg);
208-
#else
206+
#ifndef FRONTEND
209207
ereport(ERROR, (errcode_for_file_access(),
210208
errmsg("Error setting junction for %s: %s", nativeTarget, msg)));
209+
#else
210+
fprintf(stderr, "Error setting junction for %s: %s", nativeTarget, msg);
211211
#endif
212212
LocalFree(msg);
213213

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy