summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index d49aa24..ac1b546 100644
--- a/process.c
+++ b/process.c
@@ -698,7 +698,7 @@ int auth_finalize (void)
ProgramName, temp_name);
} else {
(void) unlink (iceauth_filename);
-#if defined(WIN32) || defined(__UNIXOS2__)
+#ifdef WIN32
if (rename(temp_name, iceauth_filename) == -1)
#else
/* Attempt to rename() if link() fails, since this may be on a FS that does not support hard links */