X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.c;h=025bb966c3516f7c5e653382d5680d42e7f6dfcb;hp=a0d84d5fbe8a8f2c69e5eb36442521c58c27d24b;hb=2da3024caea2be71550f9eabd2fbc08fefe29bb5;hpb=4a78892df0b95cc22a976632445f3dca8893aae4 diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index a0d84d5..025bb96 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)