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

Properly fix build on i386 #89

Merged
merged 1 commit into from Mar 1, 2016
Merged

Properly fix build on i386 #89

merged 1 commit into from Mar 1, 2016

Conversation

Sp1l
Copy link
Contributor

@Sp1l Sp1l commented Mar 1, 2016

This fixes building on both i386 and amd64.
Culprit and fix both in include/apr-1/apr.h

#ifdef __LP64__
...
 typedef  unsigned long   apr_uint64_t;
...
#else
...
 typedef  unsigned long long   apr_uint64_t;
...
#endif

The fix is also in there

#ifdef __LP64__
...
 #define APR_UINT64_T_FMT     "lu"
...
#else
...
 #define APR_UINT64_T_FMT     "llu"
...
#endif

@icing
Copy link
Owner

icing commented Mar 1, 2016

Thanks! That will do nicely!

icing added a commit that referenced this pull request Mar 1, 2016
Properly fix build on i386
@icing icing merged commit 75aa5e5 into icing:master Mar 1, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants