forked from wolfSSL/wolfssl
INTIME: fix check returns Find{First,Next,Close} for version <6
This commit is contained in:
@ -786,9 +786,9 @@ WOLFSSL_API int wolfCrypt_Cleanup(void);
|
||||
& FILE_ATTR_NORMAL)
|
||||
#else
|
||||
struct _find64 FindFileData;
|
||||
#define IntimeFindFirst(name, data) _findfirst64(name, data)
|
||||
#define IntimeFindNext(data) _findnext64(data)
|
||||
#define IntimeFindClose(data) _findclose64(data)
|
||||
#define IntimeFindFirst(name, data) (0 == _findfirst64(name, data))
|
||||
#define IntimeFindNext(data) (0 == _findnext64(data))
|
||||
#define IntimeFindClose(data) (0 == _findclose64(data))
|
||||
#define IntimeFilename(ctx) ctx->FindFileData.f_filename
|
||||
#define IntimeNormalFile(ctx) (0 == wc_FileExists(IntimeFilename(ctx)))
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user