Changeset View
Changeset View
Standalone View
Standalone View
intern/guardedalloc/mmap_win.h
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| #define MAP_FAILED ((void *)-1) | #define MAP_FAILED ((void *)-1) | ||||
| /* needed for uintptr_t, exception, dont use BLI anywhere else in MEM_* */ | /* needed for uintptr_t, exception, dont use BLI anywhere else in MEM_* */ | ||||
| #include "../../source/blender/blenlib/BLI_sys_types.h" | #include "../../source/blender/blenlib/BLI_sys_types.h" | ||||
| #include <sys/types.h> | #include <sys/types.h> | ||||
| void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset); | void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset); | ||||
| intptr_t munmap(void *ptr, size_t size); | int munmap(void *ptr, size_t size); | ||||
| #endif | #endif | ||||