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

PMurHash.c on Solaris #30

Open
GoogleCodeExporter opened this issue Apr 3, 2015 · 0 comments
Open

PMurHash.c on Solaris #30

GoogleCodeExporter opened this issue Apr 3, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

On Solaris, with native cc, _BIG_ENDIAN or _LITTLE_ENDIAN is #define'd, but 
just #define'd; there is no numeric value. This causes tests like 
(_BIG_ENDIAN==1) (PMurHash.c:96) to fail with a "missing operand".

Perhaps choose BIG if _BIG_ENDIAN is defined and _LITTLE_ENDIAN is not defined, 
and vice versa. Using (_BIG_ENDIAN+0==1) should get around the syntax problem 
for that part of the test.

Original issue reported on code.google.com by [email protected] on 15 Oct 2014 at 8:48

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

No branches or pull requests

1 participant