-
Notifications
You must be signed in to change notification settings - Fork 7.8k
fix mbstring extension failed to compile in archlinux system #2722
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
Conversation
ext/mbstring/libmbfl/mbfl/mbfilter.h
Outdated
@@ -104,6 +104,8 @@ | |||
#define ssize_t __int64 | |||
#elif defined(_WIN32) | |||
#define ssize_t __int32 | |||
#elif defined(__GNUC__) && __GNUC__ >= 4 | |||
#define ssize_t __int128 |
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.
Pretty sure __int128
here is not correct. This should be either an int32 or int64 depending on platform, but not int128. As the Windows case is already handled and I think pretty much everything else is LP64 doing #define ssize_t long
should do the trick.
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 will be fix it
Merged 9b77615 Thanks. |
@krakjoe Looks like you merged only the first commit. |
The files changed view, and the commit seem to match ... The patch github exports is also matching ... |
How should I do can fix this problem? @krakjoe |
I'm unsure what the problem is: The first commit defined |
|
oh I see ... I wonder how that happened ... anyway fixed in c898349 Cheers :) |
fix
ssize_t
is not defined in archlinux