]> granicus.if.org Git - postgresql/commitdiff
Allow zic to compile by defining a "" value for my_exec_path. It isn't
authorBruce Momjian <bruce@momjian.us>
Wed, 19 May 2004 01:17:42 +0000 (01:17 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 19 May 2004 01:17:42 +0000 (01:17 +0000)
used by zic anyway.

src/timezone/zic.c

index 21d665c7150276d63666ae135463db6cd1bc6f7f..28585ac52f8f8b4283715cf0ebc1dbc8d61bc6ca 100644 (file)
@@ -22,6 +22,12 @@ static char  elsieid[] = "@(#)zic.c  7.115";
 #endif
 #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,