mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-05-27 22:37:55 +02:00
The STRING_CONST() macro worked fine for constants but was not able to constify strings created at runtime. Add the STR() macro to do this by using strlen() to get the size. Also rename STRING_CONST() to STRDEF() for brevity and to match the other macro name.