Skip to content

Commit c35b871

Browse files
committed
Add missing define for HAVE_GETCWD for rp2
Signed-off-by: Paul Guyot <[email protected]>
1 parent 09f20f9 commit c35b871

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)