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
db_postgres compilation fails if htonll is defined #665
Comments
Can one be sure that htonll is a defined macro on all systems? Because the functions cannot be tested with |
Hi Daniel, SmartOS and Solaris 11:
OSX:
|
Can you check if NTOHLL is defined on Solaris? It is quite common that a token supposed to be a define flag/macro uses uppercases. |
Hi Daniel,
|
I am fine to rename the functions to avoid the conflict. make a pull request for it - there is CI build to see if there are compilations issues with PRs when using gcc or clang on linux. |
There is a fairly specific ifdef that doesn't match other platforms that define htonll and ntohll such as Solaris:
Would it be acceptable to change these to:
For example:
The text was updated successfully, but these errors were encountered: