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
+3 -2
View File
@@ -6,9 +6,10 @@
NetworkSyncManager *NSMAN;
// Aldo: used by GetCurrentSMVersion()
// Aldo: version_num used by GetCurrentSMVersion()
// XXX: That's probably not what you want... --root
#if defined(HAVE_VERSION_INFO)
extern unsigned long version_num;
#include "ver.h"
#endif
#if defined(WITHOUT_NETWORKING)