summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-05-19 01:17:42 +0000
committerBruce Momjian <bruce@momjian.us>2004-05-19 01:17:42 +0000
commit48eb73b5563970549b2eb3649a45b0a7110bb2f5 (patch)
tree3e8a77b6825f38babaf064673e92bb0eb73859f4 /src
parent07f2b767dc7c11779590a02da455f3c21c0c937b (diff)
Allow zic to compile by defining a "" value for my_exec_path. It isn't
used by zic anyway.
Diffstat (limited to 'src')
-rw-r--r--src/timezone/zic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timezone/zic.c b/src/timezone/zic.c
index 21d665c7150..28585ac52f8 100644
--- a/src/timezone/zic.c
+++ b/src/timezone/zic.c
@@ -23,6 +23,12 @@ static char elsieid[] = "@(#)zic.c 7.115";
#endif
/*
+ * This allows zic to compile by just assigning a dummy value.
+ * pgtz.c references it, but no one uses it from zic.
+ */
+char my_exec_path[MAXPGPATH] = "";
+
+/*
** On some ancient hosts, predicates like `isspace(C)' are defined
** only if isascii(C) || C == EOF. Modern hosts obey the C Standard,
** which says they are defined only if C == ((unsigned char) C) || C == EOF.