summaryrefslogtreecommitdiff
path: root/usr.sbin/zic
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-02-09 13:42:04 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-02-09 13:42:04 +0000
commit7a4391ac153424874aea9d00a8bf383d347b030d (patch)
tree26ca5dbe92cf4d5ace56332100163d6e4eea868d /usr.sbin/zic
parentcc9d0dd1acdbc2bb5eb3f11554ea05ae6f5b3960 (diff)
unifdef the rest of the HAVEs and HAVE nots
Diffstat (limited to 'usr.sbin/zic')
-rw-r--r--usr.sbin/zic/zic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/zic/zic.c b/usr.sbin/zic/zic.c
index eac0165badd..7fb9d07a62e 100644
--- a/usr.sbin/zic/zic.c
+++ b/usr.sbin/zic/zic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zic.c,v 1.5 2015/02/09 13:39:16 tedu Exp $ */
+/* $OpenBSD: zic.c,v 1.6 2015/02/09 13:42:03 tedu Exp $ */
/*
** This file is in the public domain, so clarified as of
** 2006-07-17 by Arthur David Olson.
@@ -619,10 +619,8 @@ const char * const tofield;
exit(EXIT_FAILURE);
result = link(fromname, toname);
-#if HAVE_SYMLINK
if (result != 0 && errno == EXDEV)
result = symlink(fromname, toname);
-#endif /* HAVE_SYMLINK */
if (result != 0) {
const char *e = strerror(errno);