mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
fold version macros into runtime functions to avoid cascade rebuilds when modifying the core
This commit is contained in:
1 parent
104ce2a35f
commit
8dfbd91a3d
22 files changed
+157
-39
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user