commit | bcdbee9f2dbdea58b88a12fb28f408148e5b9cb0 | [log] [tgz] |
---|---|---|
author | Andoni Morales Alastruey <ylatuya@gmail.com> | Wed Jan 16 17:36:41 2019 +0100 |
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | Wed Jan 16 17:41:22 2019 +0100 |
tree | fc848441155b6016c056d6a7e71fe178462ff2c3 | |
parent | e04629f2058e7d5b859e0c35ba5413ef6f197b38 [diff] |
Fix build with MinGW and the ucrtbase CRT
diff --git a/usrsctplib/user_malloc.h b/usrsctplib/user_malloc.h index 73904ca..8d4fe82 100755 --- a/usrsctplib/user_malloc.h +++ b/usrsctplib/user_malloc.h
@@ -41,7 +41,7 @@ #include <strings.h> #include <stdint.h> #else -#if defined(_MSC_VER) && _MSC_VER >= 1600 +#if (defined(_MSC_VER) && _MSC_VER >= 1600) || (defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ >= 1400) #include <stdint.h> #elif defined(SCTP_STDINT_INCLUDE) #include SCTP_STDINT_INCLUDE