mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 08:07:47 +00:00
[posix-app] remove dependency on OPENTHREAD_TARGET_DEFINES (#4375)
This commit is contained in:
@@ -51,7 +51,6 @@ CPPFLAGS_COMMON = \
|
||||
-I$(top_srcdir)/src/core \
|
||||
-I$(top_srcdir)/src/posix/platform \
|
||||
-D_GNU_SOURCE \
|
||||
$(OPENTHREAD_TARGET_DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
LIBTOOLFLAGS_COMMON = --preserve-dup-deps
|
||||
|
||||
@@ -36,7 +36,6 @@ libopenthread_posix_a_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/core \
|
||||
-I$(top_srcdir)/src/posix/platform \
|
||||
-D_GNU_SOURCE \
|
||||
$(OPENTHREAD_TARGET_DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
libopenthread_posix_a_SOURCES = \
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#if OPENTHREAD_CONFIG_POSIX_APP_ENABLE_PTY_DEVICE
|
||||
#ifdef OPENTHREAD_TARGET_DARWIN
|
||||
#ifdef __APPLE__
|
||||
#include <util.h>
|
||||
#else
|
||||
#include <pty.h>
|
||||
|
||||
Reference in New Issue
Block a user