Change the variable to a #define in order to make gcc happy which
otherwise will complain about "variably modified 'alias' at file scope". Unbreaks the build on gcc platforms.
This commit is contained in:
parent
afa04e4170
commit
54902c0a6a
@ -58,7 +58,7 @@
|
||||
#include "mibII_tree.h"
|
||||
|
||||
/* maximum size of the interface alias */
|
||||
static const u_int MIBIF_ALIAS_SIZE = 64 + 1;
|
||||
#define MIBIF_ALIAS_SIZE (64 + 1)
|
||||
|
||||
/*
|
||||
* Interface list and flags.
|
||||
|
Loading…
Reference in New Issue
Block a user