Open gvollant opened 6 years ago
Hello,
to compile with Visual Studio 2015, I had to modify the beginning of lzham_types.h. I made this:
// File: types.h // See Copyright Notice and license at the end of include/lzham.h
// TODO
...
and file continue
In small word, VS2015 and later are like APPLE, we must undefine these type.
probably same thing in #20
Hello,
to compile with Visual Studio 2015, I had to modify the beginning of lzham_types.h. I made this:
// File: types.h // See Copyright Notice and license at the end of include/lzham.h
pragma once
// TODO
if defined(_MSC_VER) && (!(defined(MUST_UNDEFINE_STDINTTYPE)))
if _MSC_VER >= 1900
define MUST_UNDEFINE_STDINTTYPE
endif
endif
if defined(APPLE) || defined(FreeBSD) || defined(NetBSD) || defined(MUST_UNDEFINE_STDINTTYPE)
undef INT8_MIN
...
and file continue
In small word, VS2015 and later are like APPLE, we must undefine these type.