Home | History | Annotate | Line # | Download | only in d
      1 /* d-system.h -- DMD frontend inclusion of gcc header files.
      2  * Copyright (C) 2018-2022 Free Software Foundation, Inc.
      3  *
      4  * GCC is free software; you can redistribute it and/or modify
      5  * it under the terms of the GNU General Public License as published by
      6  * the Free Software Foundation; either version 3, or (at your option)
      7  * any later version.
      8  *
      9  * GCC is distributed in the hope that it will be useful,
     10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12  * GNU General Public License for more details.
     13  *
     14  * You should have received a copy of the GNU General Public License
     15  * along with GCC; see the file COPYING3.  If not see
     16  * <http://www.gnu.org/licenses/>.
     17  */
     18 
     19 #ifndef GCC_D_SYSTEM_H
     20 #define GCC_D_SYSTEM_H
     21 
     22 #ifdef GENERATOR_FILE
     23 #include "bconfig.h"
     24 #else
     25 #include "config.h"
     26 #endif
     27 #include "system.h"
     28 
     29 /* Forward assert invariants to gcc_assert.  */
     30 #undef assert
     31 #define assert(EXPR) gcc_assert(EXPR)
     32 
     33 #endif  /* GCC_D_SYSTEM_H  */
     34