emacs/nt/inc/sys/mman.h

32 lines
481 B
C

/*
* sys/mman.h
* mman-win32
*/
#ifndef _SYS_MMAN_H_
#define _SYS_MMAN_H_
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/* We need MAP_ANON in src/buffer.c */
#define MAP_FILE 0
#define MAP_SHARED 1
#define MAP_PRIVATE 2
#define MAP_TYPE 0xf
#define MAP_FIXED 0x10
#define MAP_ANONYMOUS 0x20
#define MAP_ANON MAP_ANONYMOUS
#define MAP_FAILED ((void *)-1)
#ifdef __cplusplus
};
#endif
#endif /* _SYS_MMAN_H_ */