tukaani-project / xz

XZ Utils
https://tukaani.org/xz/
Other
542 stars 101 forks source link

Build: Only define HAVE_DECL_PROGRAM_INVOCATION_NAME if it is set to 1. #6

Closed JiaT75 closed 1 year ago

JiaT75 commented 1 year ago

Pull request checklist

Please check if your PR fulfills the following requirements:

Pull request type

Please check the type of change your PR introduces: - [X] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming, typo fix) - [ ] Refactoring (no functional changes, no api changes) - [X] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior?

HAVE_DECL_PROGRAM_INVOCATION_NAME macro definition is inconsistent across build systems and is always defined, even if set to 0.

Related Issue URL:

What is the new behavior?

Does this introduce a breaking change?

Other information