]> git.marmaro.de Git - mmh/blobdiff - mts/smtp/smtp.c
* Added config.sub and config.guess to the list of files to be
[mmh] / mts / smtp / smtp.c
index a0d84d5fbe8a8f2c69e5eb36442521c58c27d24b..025bb966c3516f7c5e653382d5680d42e7f6dfcb 100644 (file)
@@ -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)