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

Reorder preprocessor conditions in libi2pd/I2PEndian.h #1030

Merged
merged 1 commit into from
Dec 11, 2017

Conversation

AMDmi3
Copy link
Contributor

@AMDmi3 AMDmi3 commented Dec 11, 2017

The problem is that FreeBSD_kernel may be defined on FreeBSD as
well, while it always needs <sys/endian.h>

In fact, you shouldn't check for FreeBSD_kernel at all, as the code has nothing to do with whether the code runs under FreeBSD kernel or not.

The problem is that __FreeBSD_kernel__ may be defined on FreeBSD as
well, while it always needs <sys/endian.h>
@orignal orignal merged commit 13b17c5 into PurpleI2P:openssl Dec 11, 2017
@AMDmi3 AMDmi3 deleted the freebsd_kernel branch December 11, 2017 18:20
@AMDmi3
Copy link
Contributor Author

AMDmi3 commented Dec 11, 2017

Thanks! Please note the suggestion in PR description.

@orignal
Copy link
Contributor

orignal commented Dec 11, 2017

FreeBSD_kernel check was not implemented bt me, but kytv I believe. That's about debian with freebsd's kernel

@AMDmi3
Copy link
Contributor Author

AMDmi3 commented Dec 11, 2017

+@kytvi2p

@orignal
Copy link
Contributor

orignal commented Dec 11, 2017

He has left I2P almost 2 years ago

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.

2 participants