Bug #15535 Compile failure on Windows due to mmap-related define
Submitted: 6 Dec 2005 18:32 Modified: 1 Mar 2006 19:34
Reporter: Jim Winstead Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: MyISAM storage engine Severity:S2 (Serious)
Version:5.1.4-bk OS:Windows (Windows)
Assigned to: Kent Boortz CPU Architecture:Any

[6 Dec 2005 18:32] Jim Winstead
Description:
storage/myisam/mi_dynrec.c doesn't compile on windows because MAP_NORESERVE is not defined, used in mi_dynmap_file()

How to repeat:
Compile on Windows.

Suggested fix:
This is a non-standard flag, so it may trouble other platforms, too. We have a #define MAP_NORESERVE 0 in some other files.
[11 Dec 2005 20:22] MySQL Verification Team
e:\builds\mysql-5.1.4-alpha\storage\myisam\mi_dynrec.c(74): error C2065: 'MAP_NORESERVE' : undeclared identifier