Nedmalloc does not compile under Visual Studio 2017 #20
Description
Hi,
It seems nedmalloc does not compile under Visual studio 2017.
Not sure yet who is the culprit (Visual studio? nedmalloc?)
1>------ Build started: Project: nedmalloc, Configuration: Debug Win32 ------
1>MSVCRTD.lib(guard_support.obj) : error LNK2005: _ReadNoFence already defined in nedmalloc.obj
1>MSVCRTD.lib(guard_support.obj) : error LNK2005: _ReadPointerNoFence already defined in nedmalloc.obj
1> Creating library C:/Walkinside/Sources/vs-solutions/nedmalloc/Debug/nedmalloc.lib and object C:/Walkinside/Sources/vs-solutions/nedmalloc/Debug/nedmalloc.exp
1>nedmalloc.obj : error LNK2019: unresolved external symbol __imp__MapViewOfFileNuma2@36 referenced in function _MapViewOfFile2
1>C:\Walkinside\Sources\vs-solutions\nedmalloc\Debug\nedmalloc.dll : fatal error LNK1120: 1 unresolved externals
1>Done building project "nedmalloc.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I have investigated quite a bit without finding the reason.
I am trying to port nedmalloc to vcpkg but without support for vs 2017, this won 't be possible.
It compiles under Visual studio 2015.
Anyone has a clue, maybe i forgot a preprocessor definition ?