Skip to content

Windows and C++ improvements

Choose a tag to compare

@autarch autarch released this 02 Dec 18:54

1.0.3 - 2014-12-02

  • A memory and file handle leak on Win32 was fixed when getting the database
    size fails. Patch by Federico G. Schwindt. GitHub PR #49.
  • Documentation fix. Federico G. Schwindt. GitHub PR #50.
  • Added Visual Studio build files and fixed incorrect CreateFileMappingA
    usage. Patch by Andre. GitHub #52.
  • The includes for the Windows header files were made lowercase in order to
    match the actual file names on case-sensitive file systems. GitHub PR #57.
  • Removed realloc() calls that caused warnings on Windows and generally
    cleaned up memory allocation in MMDB_vget_value(). See relevant discussion
    in GitHub #52.
  • Added an extern "C" { ... } wrapper to maxminddb.h when compiling with a
    C++ compiler. GitHub #55.