sssnic: adapting compilation for tencentos

Signed-off-by: Huang Cun <cunhuang@tencent.com>
This commit is contained in:
Huang Cun 2024-08-13 17:19:32 +08:00
parent 37c2f83262
commit a4ffb5a429
2 changed files with 18 additions and 2 deletions

View File

@ -3,8 +3,16 @@
#ifdef __OPENCLOUDOS__ #ifdef __OPENCLOUDOS__
#ifndef HAVE_ETHTOOL_COALESCE_EXTACK
#define HAVE_ETHTOOL_COALESCE_EXTACK
#endif
#ifndef HAVE_ETHTOOL_RINGPARAM_EXTACK
#define HAVE_ETHTOOL_RINGPARAM_EXTACK
#endif
/* for opencloudos-8.6 */ /* for opencloudos-8.6 */
#endif #endif
#endif #endif

View File

@ -3,8 +3,16 @@
#ifdef __TENCENTOS__ #ifdef __TENCENTOS__
#ifndef HAVE_ETHTOOL_COALESCE_EXTACK
#define HAVE_ETHTOOL_COALESCE_EXTACK
#endif
#ifndef HAVE_ETHTOOL_RINGPARAM_EXTACK
#define HAVE_ETHTOOL_RINGPARAM_EXTACK
#endif
/* for tencentos 2.4 2209.1 / 3.1 2209.3 */ /* for tencentos 2.4 2209.1 / 3.1 2209.3 */
#endif #endif
#endif #endif