www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / userapps / opensource / net-snmp / agent / mibgroup / mibII / vacm_vars.c
index 6a134f5..4b84ac5 100755 (executable)
 #  include <time.h>
 # endif
 #endif
-#ifdef BUILD_SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
 #include "sysORTable.h"
-#endif /* BUILD_SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
 #endif
 static unsigned int vacmViewSpinLock = 0;
 
 void
 init_vacm_vars(void)
 {
-#ifdef BUILD_SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
 #ifdef USING_MIBII_SYSORTABLE_MODULE
     static oid      reg[] = { SNMP_OID_SNMPMODULES, 16, 2, 2, 1 };
 #endif
-#endif /* BUILD_SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
 
 #define PRIVRW (SNMPV2ANY | 0x5000)
 
@@ -155,12 +155,12 @@ init_vacm_vars(void)
     snmpd_register_config_handler("vacmAccess", vacm_parse_config_access,
                                   NULL, NULL);
 
-#ifdef BUILD_SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
 #ifdef USING_MIBII_SYSORTABLE_MODULE
     register_sysORTable(reg, 10,
                         "View-based Access Control Model for SNMP.");
 #endif
-#endif /* BUILD_SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
 
     /*
      * register ourselves to handle access control