X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=acconfig.h;h=ac1bcefcde512ee07c5569664d803f1326c2ad41;hp=b51d61b7fa2775f60edcda19fb744446fedea0bb;hb=f3c081df429e32cf77534cd4650daf3bed23e122;hpb=f6eb34fe532a8392a1aa3a0f2d93e16896b8eba5;ds=sidebyside diff --git a/acconfig.h b/acconfig.h index b51d61b..ac1bcef 100644 --- a/acconfig.h +++ b/acconfig.h @@ -54,6 +54,10 @@ #undef HAVE_CBAUDEX #undef CBAUDEX +/* CRTSCTS define, may be missing. */ +#undef HAVE_CRTSCTS +#undef CRTSCTS + /* FD_SETSIZE define, may be missing. */ #undef HAVE_FD_SETSIZE @@ -201,6 +205,7 @@ extern char *sys_errlist[]; #define offsetof(a,b) ((size_t)&((a *)0)->b) #endif +#ifndef DONT_NEED_DECLARATIONS /* * Handles all of the internationalization configuration options. * Author: Tom Tromey @@ -211,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 @@ -227,3 +233,4 @@ extern char *sys_errlist[]; # define _(String) (String) # define N_(String) (String) #endif /* ENABLE_NLS */ +#endif /* !DONT_NEED_DECLARATIONS */