X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=acconfig.h;fp=acconfig.h;h=ac1bcefcde512ee07c5569664d803f1326c2ad41;hp=8134a13dee0c162c49df07210413ea2df6b247ee;hb=60a8ee1e4b1a417463840bbfa07f3a07cfb06014;hpb=2316b3470b774a253cce54dea1dc8b04e260f79a diff --git a/acconfig.h b/acconfig.h index 8134a13..ac1bcef 100644 --- a/acconfig.h +++ b/acconfig.h @@ -216,9 +216,10 @@ extern char *sys_errlist[]; #ifdef HAVE_LIBINTL_H # include #endif /* HAVE_LIBINTL_H */ -# define _(String) gettext (String) +/* 'gettext()' may not be declared here and it will default to return 'int'! */ +# define _(String) ((const char *)gettext (String)) # ifdef gettext_noop -# define N_(String) gettext_noop (String) +# define N_(String) ((const char *)gettext_noop (String)) # else # define N_(String) (String) # endif