common.h: added guard to avoid warning when ENABLE_NLS is not defined

This commit is contained in:
Andreas Baumann 2026-01-22 12:59:19 +01:00
parent bccb38dc9d
commit 5ede691890

View file

@ -193,7 +193,7 @@ enum {
*/
#include "../gl/gettext.h"
#define _(String) gettext(String)
#if !ENABLE_NLS
#if !defined(ENABLE_NLS) || !ENABLE_NLS
# undef textdomain
# define textdomain(Domainname) /* empty */
# undef bindtextdomain