Browse Source

Fix compilation error in minirent.h

rexim 4 năm trước cách đây
mục cha
commit
25b863a25d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      minirent.h

+ 1 - 1
minirent.h

@@ -84,7 +84,7 @@ struct dirent *readdir(DIR *dirp)
         if(!FindNextFile(dirp->hFind, &dirp->data)) {
         if(!FindNextFile(dirp->hFind, &dirp->data)) {
             // TODO: readdir should set errno accordingly on FindFirstFile fail
             // TODO: readdir should set errno accordingly on FindFirstFile fail
             // https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror
             // https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror
-            errno = ENOSYS
+            errno = ENOSYS;
             return NULL;
             return NULL;
         }
         }
     }
     }