From 2822511e632bd2ae8a2e5a853a114a9bac1cebe5 Mon Sep 17 00:00:00 2001 From: "Hui.Li-TCL" Date: Tue, 8 Mar 2022 22:57:13 +0800 Subject: [PATCH] fix disable ipv4 build error on android (#15959) --- src/platform/android/InetPlatformConfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/android/InetPlatformConfig.h b/src/platform/android/InetPlatformConfig.h index 5c25125ece81a6..98979504faeb1d 100644 --- a/src/platform/android/InetPlatformConfig.h +++ b/src/platform/android/InetPlatformConfig.h @@ -25,8 +25,9 @@ #pragma once // ==================== Platform Adaptations ==================== - +#ifndef INET_CONFIG_ENABLE_IPV4 #define INET_CONFIG_ENABLE_IPV4 1 +#endif // INET_CONFIG_ENABLE_IPV4 // ========== Platform-specific Configuration Overrides =========