fix: build failed on linux

This commit is contained in:
xsren 2024-02-05 16:07:40 +08:00
parent f825089488
commit 9457d3a269
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ int64_t taosFSendFile(TdFilePtr pFileOut, TdFilePtr pFileIn, int64_t *offset, in
#endif #endif
} }
bool lastErrorIsFileNotExist() { return dwError == ENOENT; } bool lastErrorIsFileNotExist() { return errno == ENOENT; }
#endif // WINDOWS #endif // WINDOWS