zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

builtins.h (846B) - Raw


      1 /*===---- builtins.h - Standard header for extra builtins -----------------===*\
      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 /// Some legacy compilers have builtin definitions in a file named builtins.h.
     10 /// This header file has been added to allow compatibility with code that was
     11 /// written for those compilers. Code may have an include line for this file
     12 /// and to avoid an error an empty file with this name is provided.
     13 #ifndef __BUILTINS_H
     14 #define __BUILTINS_H
     15 
     16 #if defined(__MVS__) && __has_include_next(<builtins.h>)
     17 #include_next <builtins.h>
     18 #endif /* __MVS__ */
     19 #endif /* __BUILTINS_H */