VSF Documented
default_compiler.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __USE_DEFAULT_COMPILER_H_PART_1__
19#define __USE_DEFAULT_COMPILER_H_PART_1__
20
21/*============================ INCLUDES ======================================*/
22
24
25#if !__IS_COMPILER_LLVM__ && !__IS_COMPILER_GCC__ && !__IS_COMPILER_TCC__
26# error compiler not supported
27#endif
28
29#endif /* end of __USE_DEFAULT_COMPILER_H_PART_1__ */
30
31/*========================== Multiple-Entry Start ============================*/
32
33#ifndef __VSF_HEADER_ONLY_SHOW_COMPILER_INFO__
34# include "./type.h"
35#endif
36#include "../__common/__compiler.h"
37
38/*========================== Multiple-Entry End ==============================*/
39
40#ifndef __USE_DEFAULT_COMPILER_H_PART_2__
41#define __USE_DEFAULT_COMPILER_H_PART_2__
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47/*============================ MACROS ========================================*/
48
49/*----------------------------------------------------------------------------*
50 * Startup Source Code *
51 *----------------------------------------------------------------------------*/
52
53#define vsf_stdio_init(...)
54
55/*============================ TYPES =========================================*/
56/*============================ PROTOTYPES ====================================*/
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* end of __USE_DEFAULT_COMPILER_H_PART_2__ */