Skip to content

Commit 97d684b

Browse files
committed
Merge pull request #1925 from pguyot/w43/pico-getcwd
Add missing define for HAVE_GETCWD for rp2 These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 1fca53f + 76a79d7 commit 97d684b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/platforms/rp2/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ set(HAVE_MKFIFO "" CACHE INTERNAL "Have symbol mkfifo" FORCE)
5454
set(HAVE_UNLINK "" CACHE INTERNAL "Have symbol unlink" FORCE)
5555
# Likewise with EXECVE
5656
set(HAVE_EXECVE "" CACHE INTERNAL "Have symbol execve" FORCE)
57+
# getcwd is defined in newlib header but not implemented
58+
set(HAVE_GETCWD "" CACHE INTERNAL "Have symbol getcwd" FORCE)
5759

5860
# Options that make sense for this platform
5961
option(AVM_DISABLE_SMP "Disable SMP support." OFF)

0 commit comments

Comments
 (0)