diff options
Diffstat (limited to 'PACE/pace/win32/mman.h')
-rw-r--r-- | PACE/pace/win32/mman.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/PACE/pace/win32/mman.h b/PACE/pace/win32/mman.h deleted file mode 100644 index 2a5621823d7..00000000000 --- a/PACE/pace/win32/mman.h +++ /dev/null @@ -1,65 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/mman.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_MMAN_H_WIN32 -#define PACE_SYS_MMAN_H_WIN32 - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -# define MAP_PRIVATE 1 -# define MAP_SHARED 2 -# define MAP_FIXED 4 -# if !defined (MAP_FAILED) -# undef MAP_FAILED -# define MAP_FAILED ((void *) -1) -# endif - -# define PACE_MAP_FAILED MAP_FAILED -# define PACE_MAP_FIXED MAP_FIXED -# define PACE_MAP_PRIVATE MAP_PRIVATE -# define PACE_MAP_SHARED MAP_SHARED -# define PACE_MCL_CURRENT MCL_CURRENT -# define PACE_MS_ASYNC MS_ASYNC -# define PACE_MS_INVALIDATE -# define PACE_MS_SYNC MS_SYNC -# define PACE_PROT_EXEC PROT_EXEC -# define PACE_PROT_NONE PROT_NONE -# define PACE_PROT_READ PROT_READ -# define PACE_PROT_WRITE PROT_WRITE - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - void * mmap (void * addr, size_t len, int prot, int flags, - PACE_HANDLE fildes, pace_off_t off); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int mprotect (void * addr, size_t len, int prot); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int msync (void * addr, size_t len, int flags); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if (PACE_HAS_POSIX_NONUOF_FUNCS) - int munmap (void * addr, size_t len); -#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#endif /* PACE_SYS_MMAN_H */ |