my_sys.h:
Added MAP_NORESERVE set to 0 for Windows config-win.h: If MAX_INDEXES is not set, set it to 64 on Windows
This commit is contained in:
parent
60a0d94733
commit
6e276f03be
@ -61,6 +61,10 @@ functions */
|
||||
#define __WIN__ /* To make it easier in VC++ */
|
||||
#endif
|
||||
|
||||
#ifndef MAX_INDEXES
|
||||
#define MAX_INDEXES 64
|
||||
#endif
|
||||
|
||||
/* File and lock constants */
|
||||
#define O_SHARE 0x1000 /* Open file in sharing mode */
|
||||
#ifdef __BORLANDC__
|
||||
|
@ -841,6 +841,7 @@ my_bool my_gethwaddr(uchar *to);
|
||||
/* not a complete set of mmap() flags, but only those that nesessary */
|
||||
#define PROT_READ 1
|
||||
#define PROT_WRITE 2
|
||||
#define MAP_NORESERVE 0
|
||||
#define MAP_SHARED 0x0001
|
||||
#define MAP_NOSYNC 0x0800
|
||||
#define MAP_FAILED ((void *)-1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user