Mercurial > vim
comparison src/version.c @ 14177:5dfe776ad10b v8.1.0106
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined
commit https://github.com/vim/vim/commit/eee3e9466951e6619e7db51cd027bafdfbebb08d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 24 14:44:46 2018 +0200
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined
Problem: Build fails when HAVE_DATE_TIME is undefined.
Solution: Always define init_longVersion(). (Christian Brabandt,
closes #3075)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Jun 2018 14:45:05 +0200 |
parents | 2ad722003b36 |
children | ab64a4fb5edd |
comparison
equal
deleted
inserted
replaced
14176:24689dc60827 | 14177:5dfe776ad10b |
---|---|
69 VIM_VERSION_LONG_ONLY, VIM_VERSION_DATE_ONLY, date_time); | 69 VIM_VERSION_LONG_ONLY, VIM_VERSION_DATE_ONLY, date_time); |
70 } | 70 } |
71 # endif | 71 # endif |
72 #else | 72 #else |
73 char *longVersion = VIM_VERSION_LONG; | 73 char *longVersion = VIM_VERSION_LONG; |
74 | |
75 void | |
76 init_longVersion(void) | |
77 { | |
78 // nothing to do | |
79 } | |
74 #endif | 80 #endif |
75 | 81 |
76 static void list_features(void); | 82 static void list_features(void); |
77 | 83 |
78 static char *(features[]) = | 84 static char *(features[]) = |
781 NULL | 787 NULL |
782 }; | 788 }; |
783 | 789 |
784 static int included_patches[] = | 790 static int included_patches[] = |
785 { /* Add new patch number below this line */ | 791 { /* Add new patch number below this line */ |
792 /**/ | |
793 106, | |
786 /**/ | 794 /**/ |
787 105, | 795 105, |
788 /**/ | 796 /**/ |
789 104, | 797 104, |
790 /**/ | 798 /**/ |