xref: /freebsd/contrib/llvm-project/clang/lib/Headers/varargs.h (revision 47ef2a131091508e049ab10cad7f91a3c1342cd9)
1 /*===---- varargs.h - Variable argument handling -------------------------------------===
2 *
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 *
7 *===-----------------------------------------------------------------------===
8 */
9 #ifndef __VARARGS_H
10 #define __VARARGS_H
11 #if defined(__MVS__) && __has_include_next(<varargs.h>)
12 #include_next <varargs.h>
13 #else
14 #error "Please use <stdarg.h> instead of <varargs.h>"
15 #endif /* __MVS__ */
16 #endif
17