xref: /freebsd/contrib/llvm-project/clang/lib/Headers/varargs.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
10b57cec5SDimitry Andric /*===---- varargs.h - Variable argument handling -------------------------------------===
20b57cec5SDimitry Andric *
30b57cec5SDimitry Andric * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric * See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric *
70b57cec5SDimitry Andric *===-----------------------------------------------------------------------===
80b57cec5SDimitry Andric */
90b57cec5SDimitry Andric #ifndef __VARARGS_H
100b57cec5SDimitry Andric #define __VARARGS_H
11*0fca6ea1SDimitry Andric #if defined(__MVS__) && __has_include_next(<varargs.h>)
12*0fca6ea1SDimitry Andric #include_next <varargs.h>
13*0fca6ea1SDimitry Andric #else
140b57cec5SDimitry Andric #error "Please use <stdarg.h> instead of <varargs.h>"
15*0fca6ea1SDimitry Andric #endif /* __MVS__ */
160b57cec5SDimitry Andric #endif
17