-
Notifications
You must be signed in to change notification settings - Fork 326
fix windows php8 php_stdint.h path #497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix windows php8 php_stdint.h path #497
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a win32 test machine myself. If this works for you I'll take your word for it. Is there a release note that we can link to in the comment indicating this was a known change in PHP 8.x?
php_memcached_private.h
Outdated
@@ -48,7 +48,11 @@ | |||
#include <ext/standard/basic_functions.h> | |||
|
|||
#ifdef PHP_WIN32 | |||
#if PHP_VERSION_ID >= 80000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent the directive one space
php_memcached_private.h
Outdated
@@ -48,7 +48,11 @@ | |||
#include <ext/standard/basic_functions.h> | |||
|
|||
#ifdef PHP_WIN32 | |||
#if PHP_VERSION_ID >= 80000 | |||
#include "php_stdint.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent two spaces and add a second space to the alternate win32 include line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a win32 test machine myself. If this works for you I'll take your word for it. Is there a release note that we can link to in the comment indicating this was a known change in PHP 8.x?
i compiled dll file
basic usage works fine
See php/php-src#5323. This PR is okay, but for PHP 8 I don't see the need for the platform specific code at all. |
include "php_stdint.h" worked for php7? |
No. Only as of PHP 8.0.0. |
fix windows php8 php_stdint.h path