Skip to content
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

Compilation Error with "use of undeclared identifier ‘ulong’" #11

Open
tomohirohiratsuka opened this issue Nov 25, 2020 · 0 comments

Comments

@tomohirohiratsuka
Copy link

  • Env
    • macOS Big Sur 11.0.1
    • php7.4

Hi, Firstly thank you for creating this awesome lib.
When I compile by "make", I faced this error php-mecab/mecab/mecab7.c:1459:3: error: use of undeclared identifier ‘ulong’

I'm new to C so I'm not sure this is correct fix way but when I added an declaration #define ulong unsigned long on top of mecab7.c file, compilation was done successfully.

I'll create pull request for this issue, I'm glad if you check it.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant