diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-08-08 05:04:41 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-08-08 05:04:41 +0000 |
commit | e81cbc21fc663ca381dc4eccb54a74581b39a508 (patch) | |
tree | e01b8cdb9c8fc613f1c3d0d1e524ac9862397e2a /src | |
parent | cb50ee286dff0568d0edb94ac9240182a4996faa (diff) | |
download | postgresql-e81cbc21fc663ca381dc4eccb54a74581b39a508.tar.gz postgresql-e81cbc21fc663ca381dc4eccb54a74581b39a508.zip |
Adjust defines to be consistent.
Diffstat (limited to 'src')
-rw-r--r-- | src/port/dirmod.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/port/dirmod.c b/src/port/dirmod.c index 243ba1b40d9..5413253efdd 100644 --- a/src/port/dirmod.c +++ b/src/port/dirmod.c @@ -10,7 +10,7 @@ * Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.16 2004/08/08 03:51:20 momjian Exp $ + * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.17 2004/08/08 05:04:41 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -203,11 +203,11 @@ pgsymlink(const char *oldpath, const char *newpath) NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)&msg, 0, NULL ); -#ifdef FRONTEND - fprintf(stderr, "Error setting junction for %s: %s", nativeTarget, msg); -#else +#ifndef FRONTEND ereport(ERROR, (errcode_for_file_access(), errmsg("Error setting junction for %s: %s", nativeTarget, msg))); +#else + fprintf(stderr, "Error setting junction for %s: %s", nativeTarget, msg); #endif LocalFree(msg); |