X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=acconfig.h;h=b7e0cf59af0681627fd5cf71fcd5fbf03be54e94;hp=890db9d0ef8d22d624c45e7d618c8ac82eac6940;hb=5a2446d9cb2d2af3be2de8aa5cf791dd503d69fe;hpb=dc2a3b54e001b0c0c2d953918ced037ce1fe70bd diff --git a/acconfig.h b/acconfig.h index 890db9d..b7e0cf5 100644 --- a/acconfig.h +++ b/acconfig.h @@ -30,18 +30,6 @@ /* Disable runtime assertion checks. */ #undef NDEBUG -/* Provide stub for MAX-function if needed. */ -#undef HAVE_MAX -#ifndef HAVE_MAX -#define MAX(a,b) ((a)>(b)?(a):(b)) -#endif - -/* Provide stub for MIN-function if needed. */ -#undef HAVE_MIN -#ifndef HAVE_MIN -#define MIN(a,b) ((a)<(b)?(a):(b)) -#endif - /* LINE_MAX from , provide default if not defined. */ #undef HAVE_LINE_MAX #undef LINE_MAX @@ -54,6 +42,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 @@ -212,9 +204,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