diff --git a/redis_array.h b/redis_array.h index 34460b10..805442aa 100644 --- a/redis_array.h +++ b/redis_array.h @@ -1,7 +1,7 @@ #ifndef REDIS_ARRAY_H #define REDIS_ARRAY_H -#ifdef PHP_WIN32 +#if (defined(_MSC_VER) && _MSC_VER <= 1920) #include "win32/php_stdint.h" #else #include diff --git a/redis_array_impl.h b/redis_array_impl.h index f55c96e4..acf7f093 100644 --- a/redis_array_impl.h +++ b/redis_array_impl.h @@ -1,7 +1,7 @@ #ifndef REDIS_ARRAY_IMPL_H #define REDIS_ARRAY_IMPL_H -#ifdef PHP_WIN32 +#if (defined(_MSC_VER) && _MSC_VER <= 1920) #include #else #include