Formatting syncup with 3.0
authorTim Potter <tpot@samba.org>
Fri, 31 Oct 2003 03:00:33 +0000 (03:00 +0000)
committerTim Potter <tpot@samba.org>
Fri, 31 Oct 2003 03:00:33 +0000 (03:00 +0000)
source/include/includes.h

index fba2eabbe14ce6d66cb9878a08f271fb0fd35594..fe7923cc8182d052ee2b19e7fbc031b98931050b 100644 (file)
@@ -1263,10 +1263,14 @@ int smb_xvasprintf(char **ptr, const char *format, va_list ap) PRINTF_ATTRIBUTE(
 
 /* we need to use __va_copy() on some platforms */
 #ifdef HAVE_VA_COPY
+#define VA_COPY(dest, src) va_copy(dest, src)
+#else
+#ifdef HAVE___VA_COPY
 #define VA_COPY(dest, src) __va_copy(dest, src)
 #else
 #define VA_COPY(dest, src) (dest) = (src)
 #endif
+#endif
 
 #ifndef HAVE_TIMEGM
 time_t timegm(struct tm *tm);