Declare version_* in only one place. Define them in ver.cpp (at least on autotools).

This commit is contained in:
Ben "root" Anderson
2015-01-28 16:45:19 -06:00
parent a733560e62
commit 0d394e269d
7 changed files with 21 additions and 26 deletions
+4 -5
View File
@@ -69,6 +69,10 @@
#include "Profile.h"
#include "ActorUtil.h"
#ifdef HAVE_VERSION_INFO
#include "ver.h"
#endif
#if defined(WIN32)
#include <windows.h>
#endif
@@ -907,11 +911,6 @@ static void MountTreeOfZips( const RString &dir )
}
}
#if defined(HAVE_VERSION_INFO)
extern unsigned long version_num;
extern const char *const version_date;
extern const char *const version_time;
#endif
static void WriteLogHeader()
{