commit | bb740e3b117f1a3c65152d01e5755523a908ecb1 | [log] [tgz] |
---|---|---|
author | Jia Tan <jiat0218@gmail.com> | Mon Jan 02 22:33:48 2023 +0800 |
committer | GitHub <noreply@github.com> | Mon Jan 02 22:33:48 2023 +0800 |
tree | cce1a3cf9981a4a233cd89083e159d26416279e2 | |
parent | dfecda875211f737d0db92dc1d3c58a3a2afb0c0 [diff] |
Build: Only define HAVE_PROGRAM_INVOCATION_NAME if it is set to 1. HAVE_DECL_PROGRAM_INVOCATION_NAME is renamed to HAVE_PROGRAM_INVOCATION_NAME. Previously, HAVE_DECL_PROGRAM_INVOCATION_NAME was always set when building with autotools. CMake would only set this when it was 1, and the dos/config.h did not define it. The new macro definition is consistent across build systems.