summaryrefslogtreecommitdiffstats
path: root/libgnu/mman_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgnu/mman_win32.c')
-rw-r--r--libgnu/mman_win32.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgnu/mman_win32.c b/libgnu/mman_win32.c
index 78966c2e..98ea7c24 100644
--- a/libgnu/mman_win32.c
+++ b/libgnu/mman_win32.c
@@ -138,3 +138,14 @@ int mprotect(void *addr, size_t len, int prot)
errno = EACCES;
return -1;
}
+
+void *mremap(void *old_address, size_t old_size, size_t new_size, int flags, ...)
+{
+ (void) old_address;
+ (void) old_size;
+ (void) new_size;
+ (void) flags;
+ errno = ENOMEM;
+ return MAP_FAILED;
+}
+