Skip to content

Commit b67d24e

Browse files
pinotreeicculus
authored andcommitted
Android.mk: unconditionally enable getifaddrs()
Mimic the result of the CMake detection for ndk builds. Followup of commit e096b0c.
1 parent e096b0c commit b67d24e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LOCAL_SRC_FILES := \
1818
$(subst $(LOCAL_PATH)/,,) \
1919
$(wildcard $(LOCAL_PATH)/src/*.c) \
2020

21-
LOCAL_CFLAGS =
21+
LOCAL_CFLAGS = -DHAVE_GETIFADDRS
2222

2323
# Warnings we haven't fixed (yet)
2424
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-sign-compare

0 commit comments

Comments
 (0)