Skip to content

question: why do the if checks do the same thing. #1287

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

Closed
wants to merge 1 commit into from

Conversation

svanellewee
Copy link

This is more a question than an MR. Why does the macro #if checks do the same thing in both branches ?

Would it not make sense to have each branch do something different ?

Sorry was trying to build gogs on alpine and noticed this. (This seems to work on alpine if I try it though)

@rittneje
Copy link
Collaborator

This is the actual C code from the SQLite authors, which we don’t tamper with. You should ask on the forum if you want to know why they did it that way.

@rittneje rittneje closed this Oct 22, 2024
@svanellewee
Copy link
Author

svanellewee commented Oct 23, 2024

Thank you for the response. Is there a way of building this project on platforms like alpine that avoids this issue ? It is marked as closed but I'm still getting this error.

@rittneje
Copy link
Collaborator

Which version of this library are you using?

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