Skip to content

Commit

Permalink
posix: fix streams config symbol
Browse files Browse the repository at this point in the history
Makes more sense to use CONFIG_POSIX_STROPTS

Signed-off-by: Abhinav Srivastava <atg271@gmail.com>
  • Loading branch information
AbhinavMir committed Jan 26, 2024
1 parent 4208463 commit aa03b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/posix/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ zephyr_library_sources_ifdef(CONFIG_PTHREAD_RWLOCK rwlock.c)
zephyr_library_sources_ifdef(CONFIG_POSIX_PRIORITY_SCHEDULING sched.c)
zephyr_library_sources_ifdef(CONFIG_PTHREAD_IPC semaphore.c)
zephyr_library_sources_ifdef(CONFIG_PTHREAD_SPINLOCK spinlock.c)
zephyr_library_sources_ifdef(CONFIG_POSIX_PUTMSG stropts.c)
zephyr_library_sources_ifdef(CONFIG_POSIX_STROPTS stropts.c)

zephyr_library_include_directories(
${ZEPHYR_BASE}/kernel/include
Expand Down
2 changes: 1 addition & 1 deletion lib/posix/Kconfig.stropts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

config POSIX_PUTMSG
config POSIX_STROPTS
bool "Support for putmsg function"
default y if POSIX_API
help
Expand Down

0 comments on commit aa03b70

Please sign in to comment.