add limit macros for windows

This commit is contained in:
Huyen Chau Nguyen 2018-09-27 23:32:19 +02:00
parent ecf33574de
commit 19549b6345

View File

@ -29,6 +29,9 @@ THE SOFTWARE.
#include <math.h>
#if defined(_MSC_VER)
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include "msinttypes/stdint.h"
#include <intrin.h>
#else