mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Fix fadvise() on Windows
This commit is contained in:
parent
adac64a52b
commit
e1a40783da
5 changed files with 24 additions and 8 deletions
|
@ -32,10 +32,6 @@ void __fds_lock(void) {
|
|||
_spinlock(&__fds_lock_obj);
|
||||
}
|
||||
|
||||
void __fds_unlock(void) {
|
||||
_spunlock(&__fds_lock_obj);
|
||||
}
|
||||
|
||||
textstartup void InitializeFileDescriptors(void) {
|
||||
struct Fds *fds;
|
||||
fds = VEIL("r", &g_fds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue