X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8563731b02ce9d750806f6b1769af8b399d964e8..b93692cdcea35c835fcbc3617f80decd545ca3b2:/mts/smtp/smtp.c diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index a0d84d5f..025bb966 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -1011,16 +1011,17 @@ sm_wstream (char *buffer, int len) } -#ifdef _AIX /* - * AIX by default will inline the strlen and strcpy commands by redefining - * them as __strlen and __strcpy respectively. This causes compile problems - * with the #ifdef MPOP in the middle. Should the #ifdef MPOP be removed, - * remove these #undefs. + * On some systems, strlen and strcpy are defined as preprocessor macros. This + * causes compile problems with the #ifdef MPOP in the middle. Should the + * #ifdef MPOP be removed, remove these #undefs. */ +#ifdef strlen # undef strlen +#endif +#ifdef strcpy # undef strcpy -#endif /* _AIX */ +#endif static int sm_werror (void)