@@ -994,7 +994,10 @@ static INLINE int SFTP_GetSz(byte* buf, word32* sz,
994994
995995#ifndef NO_WOLFSSH_SERVER
996996
997- #ifndef WOLFSSH_USER_FILESYSTEM
997+ #if defined(MICROCHIP_MPLAB_HARMONY ) || defined(WOLFSSH_ZEPHYR ) || \
998+ defined(WOLFSSH_FATFS ) || defined(FREESCALE_MQX ) || \
999+ defined(USE_WINDOWS_API ) || defined(WOLFSSL_NUCLEUS ) || \
1000+ !defined(WOLFSSH_USER_FILESYSTEM )
9981001static int SFTP_GetAttributes (void * fs , const char * fileName ,
9991002 WS_SFTP_FILEATRB * atr , byte noFollow , void * heap );
10001003static int SFTP_GetAttributes_Handle (WOLFSSH * ssh , byte * handle , int handleSz ,
@@ -4924,10 +4927,6 @@ int SFTP_GetAttributes_Handle(WOLFSSH* ssh, byte* handle, int handleSz,
49244927 return WS_NOT_COMPILED ;
49254928}
49264929
4927-
4928- #elif defined(WOLFSSH_USER_FILESYSTEM )
4929- /* User-defined I/O support */
4930-
49314930#elif defined(MICROCHIP_MPLAB_HARMONY )
49324931int SFTP_GetAttributesStat (WS_SFTP_FILEATRB * atr , WSTAT_T * stats )
49334932{
@@ -5032,6 +5031,9 @@ int SFTP_GetAttributes_Handle(WOLFSSH* ssh, byte* handle, int handleSz,
50325031 return SFTP_GetAttributesHelper (atr , cur -> name );
50335032}
50345033
5034+ #elif defined(WOLFSSH_USER_FILESYSTEM )
5035+ /* User-defined I/O support */
5036+
50355037#else
50365038
50375039/* NOTE: if atr->flags is set to a value of 0 then no attributes are set.
0 commit comments