EDIT: I compromised the content of this PR therefore I closed it (see comment below)
~~Changed lines that used the preprocessor define _MSC_VER from MS VSC++ to determine if compiling for Windows.
This is to support Windows build systems other than VisualStudio, such as MinGW.
Previously to the fix, compiling with MinGW would fail because _MSC_VER was not defined, and the aligned_malloc function defaulted to using posix_memalign.
The README was updated with build instructions for Windows and a list of the CMake variables~~
EDIT: I compromised the content of this PR therefore I closed it (see comment below)
~~Changed lines that used the preprocessor define
_MSC_VER
from MS VSC++ to determine if compiling for Windows. This is to support Windows build systems other than VisualStudio, such as MinGW. Previously to the fix, compiling with MinGW would fail because_MSC_VER
was not defined, and thealigned_malloc
function defaulted to usingposix_memalign
. The README was updated with build instructions for Windows and a list of the CMake variables~~