Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 48eb73b

Browse files
committed
Allow zic to compile by defining a "" value for my_exec_path. It isn't
used by zic anyway.
1 parent 07f2b76 commit 48eb73b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/timezone/zic.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ static char elsieid[] = "@(#)zic.c 7.115";
2222
#endif
2323
#endif
2424

25+
/*
26+
* This allows zic to compile by just assigning a dummy value.
27+
* pgtz.c references it, but no one uses it from zic.
28+
*/
29+
char my_exec_path[MAXPGPATH] = "";
30+
2531
/*
2632
** On some ancient hosts, predicates like `isspace(C)' are defined
2733
** only if isascii(C) || C == EOF. Modern hosts obey the C Standard,

0 commit comments

Comments
 (0)