summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-12-19 23:23:53 +0100
committerunknown <kent@mysql.com>2005-12-19 23:23:53 +0100
commite0d9f5bd962c2e42e95b091784885d3ccdf48e41 (patch)
treee8010c4df9072feb81a8a7adb48a9f60168c9a76 /include/config-win.h
parent5f4100926d9fe2e819cd90995a1f7e19a3ae7bea (diff)
downloadmariadb-git-e0d9f5bd962c2e42e95b091784885d3ccdf48e41.tar.gz
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 include/config-win.h: If MAX_INDEXES is not set, set it to 64 on Windows include/my_sys.h: Added MAP_NORESERVE set to 0 for Windows
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 528bc8a8cdd..b825d34f1ee 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -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__