MatteoLacki / IsoSpec

Libraries for fine isotopic structure calculator.
Other
35 stars 10 forks source link

Compile IsoSpec++ and Generate IsoSpec++.dll with MinGW toolchain #2

Closed zmzhang closed 6 years ago

zmzhang commented 6 years ago
  1. mman.h and mman.c are from mman-win32 project (https://github.com/witwall/mman-win32). It is a light implementation of the mmap functions for MinGW.

  2. PageSize and NumberOfProcessors are obtained through GetSystemInfo function It is the substitution for sysconf(_SC_PAGESIZE) and sysconf(_SC_NPROCESSORS_ONLN) for MinGW.

michalsta commented 6 years ago

Thanks :)