Skip to content

Commit

Permalink
Remove LWIP_NO_STDINT_H on Android
Browse files Browse the repository at this point in the history
Android doesn't use lwIP, and the NDK has stdint.h, so this seems pretty
strange. Remove it.
  • Loading branch information
mspang committed Dec 15, 2023
1 parent e72182f commit 3511d2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
4 changes: 0 additions & 4 deletions src/lwip/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ buildconfig_header("lwip_buildconfig") {
# Automatically enable LWIP_DEBUG for internal is_debug builds.
defines += [ "LWIP_DEBUG=1" ]
}

if (current_os == "android") {
defines += [ "LWIP_NO_STDINT_H=1" ]
}
}
}

Expand Down
11 changes: 0 additions & 11 deletions src/platform/mt793x/lwip/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@ declare_args() {
import("//build_overrides/mt793x_sdk.gni")
import("${mt793x_sdk_build_root}/mt793x_sdk.gni")

#buildconfig_header("lwip_buildconfig") {
# header = "lwip_buildconfig.h"
# header_dir = "lwip"
#
# if (lwip_platform != "external") {
# if (current_os == "android") {
# defines += [ "LWIP_NO_STDINT_H=1" ]
# }
# }
#}

config("lwip_config") {
include_dirs = [
"${mt793x_sdk_root}/project/mt7933_hdk/apps/${mt793x_project_name}/inc",
Expand Down

0 comments on commit 3511d2a

Please sign in to comment.