]> Savannah Git Hosting - gnulib.git/commit
immutable: Implement on native Windows.
authorBruno Haible <bruno@clisp.org>
Sun, 17 Jan 2021 23:32:52 +0000 (00:32 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 17 Jan 2021 23:32:52 +0000 (00:32 +0100)
commitee634876e2bee26e63d951fe0e91378ac0795078
tree9017d78135451205c904aee103415a884f85e454
parent8491d944e92339aebf621563de10285076b96444
immutable: Implement on native Windows.

* lib/immutable.h (IMMUTABLE_EFFECTIVE): Set to 1 on native Windows.
* lib/immutable.c: Include <windows.h>.
(CreateFileMapping): New macro.
(init_pagesize, init_mmap_file, alloc_pages, free_pages): Add
implementation for native Windows.
ChangeLog
lib/immutable.c
lib/immutable.h