Gary-Hobson commented on code in PR #8868: URL: https://github.com/apache/nuttx/pull/8868#discussion_r1163544061
########## arch/sim/src/sim/posix/sim_hostfs.c: ########## @@ -36,10 +36,66 @@ #include "hostfs.h" +#ifdef CONFIG_HOST_MACOS +#include <sys/syslimits.h> +#include <mach-o/dyld.h> +#endif + /**************************************************************************** * Private Functions ****************************************************************************/ +/**************************************************************************** + * Name: host_path_convert + ****************************************************************************/ + +static int host_path_convert(const char *path, char *abspath, + uint32_t buflen) +{ +#ifndef CONFIG_SIM_HOSTFS_PATH_CONVERSION Review Comment: It should be ifndef, only when the CONFIG_SIM_HOSTFS_PATH_CONVERSION option is enabled, the folder where nuttx is located will be used as the initial search path -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org