diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index bde72d8b8e..8b5d60bf82 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -36,6 +36,10 @@ SWITCH_BEGIN_EXTERN_C #define SWITCH_USE_CLOCK_FUNCS + +#if defined(WIN32) && defined(_MSC_VER) +#define atoll _atoi64 +#endif #ifdef __ICC #pragma warning (disable:810 869 981 279 1469 188) #endif