summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-10-31 03:00:33 +0000
committerTim Potter <tpot@samba.org>2003-10-31 03:00:33 +0000
commit3c8ecd3af100db81550ed75256350e2e4c66729f (patch)
treed8000cb6a9bdcad384adad22304b29d6a0a97e1b /source3/include
parent3bf7bb2bcd7e18f29b4d0d4f32b9eb747e330fba (diff)
downloadsamba-3c8ecd3af100db81550ed75256350e2e4c66729f.tar.gz
samba-3c8ecd3af100db81550ed75256350e2e4c66729f.tar.bz2
samba-3c8ecd3af100db81550ed75256350e2e4c66729f.zip
Formatting syncup with 3.0
(This used to be commit 98881672f5c094181be7988b4d39b451f292e423)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index fba2eabbe1..fe7923cc81 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -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);