]> git.lyx.org Git - lyx.git/blobdiff - src/support/snprintf.c
get rid of turds, no.po update and remove some warnings
[lyx.git] / src / support / snprintf.c
index f486cc6c770685f6145b48b4412412f88abc29dc..cd1780af9a0ac1389f931c6f0cf1313b1fe664bd 100644 (file)
@@ -306,7 +306,9 @@ int asnprintf  (char **ptr, size_t str_m, const char *fmt, /*args*/ ...);
 int vasnprintf (char **ptr, size_t str_m, const char *fmt, va_list ap);
 #endif
 
+#ifndef va_copy
 #define va_copy(ap2,ap) ap2 = ap
+#endif
 
 #if defined(HAVE_SNPRINTF)
 /* declare our portable snprintf  routine under name portable_snprintf  */