From c737519d025ee5d65f73f8d52ee36a5c0ba50667 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 22 Dec 2022 11:11:49 +0900 Subject: [PATCH] mruby-dir/dirtest.c: add compatibility macro for `getcwd` --- mrbgems/mruby-dir/test/dirtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mrbgems/mruby-dir/test/dirtest.c b/mrbgems/mruby-dir/test/dirtest.c index 251b33bf5..6562f1531 100644 --- a/mrbgems/mruby-dir/test/dirtest.c +++ b/mrbgems/mruby-dir/test/dirtest.c @@ -22,6 +22,7 @@ int closedir(DIR *dir); #endif #include #define rmdir(path) _rmdir(path) +#define getcwd(path,len) _getcwd(path,len) #define mkdir(path,mode) _mkdir(path) #define chdir(path) _chdir(path) #else