fold version macros into runtime functions to avoid cascade rebuilds when modifying the core

This commit is contained in:
Anthony Minessale committed 2014-01-17 01:54:47 +05:00
1 parent 104ce2a35f
commit 8dfbd91a3d
22 files changed
+157 -39

No files matched your search

+1 -2
View File
@@ -31,7 +31,6 @@
*
*/
#include <switch.h>
#include <switch_version.h>
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
@@ -175,7 +174,7 @@ int handle_identity(netsnmp_mib_handler *handler, netsnmp_handler_registration *
{
netsnmp_request_info *request = NULL;
oid subid;
static char const version[] = SWITCH_VERSION_FULL;
static char const version[] = switch_version_full();
char uuid[40] = "";
switch(reqinfo->mode) {