~ubuntu-branches/debian/sid/postfix/sid

« back to all changes in this revision

Viewing changes to src/util/compat_va_copy.h

  • Committer: Package Import Robot
  • Author(s): LaMont Jones, LaMont Jones, localization folks
  • Date: 2014-02-11 07:44:30 UTC
  • mfrom: (1.1.41)
  • Revision ID: package-import@ubuntu.com-20140211074430-91tdwgjriazawdz4
Tags: 2.11.0-1
[LaMont Jones]

* New upstream release: 2.11.0

[localization folks]

* l10n: Updated German translations.  Closes: #734893 (Helge Kreutzmann)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _COMPAT_VA_COPY_H_INCLUDED_
 
2
#define _COMPAT_VA_COPY_H_INCLUDED_
 
3
 
 
4
/*++
 
5
/* NAME
 
6
/*      compat_va_copy 3h
 
7
/* SUMMARY
 
8
/*      compatibility
 
9
/* SYNOPSIS
 
10
/*      #include <compat_va_copy.h>
 
11
/* DESCRIPTION
 
12
/* .nf
 
13
 
 
14
 /*
 
15
  * C99 defines va_start and va_copy as macros, so we can probe the
 
16
  * compilation environment with #ifdef etc. Some environments define
 
17
  * __va_copy so we probe for that, too.
 
18
  */
 
19
#if !defined(va_start)
 
20
#error "include <stdarg.h> first"
 
21
#endif
 
22
 
 
23
#if !defined(VA_COPY)
 
24
#if defined(va_copy)
 
25
#define VA_COPY(dest, src) va_copy(dest, src)
 
26
#elif defined(__va_copy)
 
27
#define VA_COPY(dest, src) __va_copy(dest, src)
 
28
#else
 
29
#define VA_COPY(dest, src) (dest) = (src)
 
30
#endif
 
31
#endif                                  /* VA_COPY */
 
32
 
 
33
/* LICENSE
 
34
/* .ad
 
35
/* .fi
 
36
/*      The Secure Mailer license must be distributed with this software.
 
37
/* AUTHOR(S)
 
38
/*      Wietse Venema
 
39
/*      IBM T.J. Watson Research
 
40
/*      P.O. Box 704
 
41
/*      Yorktown Heights, NY 10598, USA
 
42
/*--*/
 
43
 
 
44
#endif