diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-01-15 19:47:20 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-01-15 19:47:20 +0000 |
commit | fe3fb644722193c4bb11bb42cef668213910817c (patch) | |
tree | f4fb88d0ccb743b60a241c072433a3b956711419 /Src/params.c | |
parent | 45bee14fec248d79a345ef970ad4933540d50dac (diff) | |
download | zsh-fe3fb644722193c4bb11bb42cef668213910817c.tar.gz zsh-fe3fb644722193c4bb11bb42cef668213910817c.tar.xz zsh-fe3fb644722193c4bb11bb42cef668213910817c.zip |
26315: define ZSH_PATCHLEVEL to "unknown" if not found
Diffstat (limited to 'Src/params.c')
-rw-r--r-- | Src/params.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Src/params.c b/Src/params.c index 28dff3684..1e902e871 100644 --- a/Src/params.c +++ b/Src/params.c @@ -35,6 +35,11 @@ #define ZSH_PATCHLEVEL CUSTOM_PATCHLEVEL #else #include "patchlevel.h" + +/* If removed from the ChangeLog for some reason */ +#ifndef ZSH_PATCHLEVEL +#define ZSH_PATCHLEVEL "unknown" +#endif #endif /* what level of localness we are at */ |