2018-11-27 15:43:32 +08:00
|
|
|
#ifndef HGL_COMPILER_LLVM_CLANG_INCLUDE
|
|
|
|
#define HGL_COMPILER_LLVM_CLANG_INCLUDE
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2019-05-05 14:22:58 +08:00
|
|
|
#define HGL_COMPILER_NAME OS_TEXT("LLVM Clang")
|
|
|
|
#define HGL_LIB_COMPILER_NAME OS_TEXT("LLVM")
|
2018-11-27 15:43:32 +08:00
|
|
|
|
|
|
|
#if (__clang_major__<3)||(__clang_major__==3&&__clang_minor__<7)
|
2019-05-05 14:22:58 +08:00
|
|
|
#error Please upgrade your compiler or development tools to LLVM Clang 3.7 or later
|
2018-11-27 15:43:32 +08:00
|
|
|
#else
|
|
|
|
|
2019-05-05 14:22:58 +08:00
|
|
|
#define HGL_LIB_COMPILER_VERSION __clang_version__
|
2018-11-27 15:43:32 +08:00
|
|
|
|
|
|
|
#endif//__clang__
|
|
|
|
|
|
|
|
#define HGL_THREAD_LOCAL_STORAGE __thread //线程本地储存
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2019-05-05 14:22:58 +08:00
|
|
|
#define HGL_LIB_FRONT HGL_LIB_OS "_" HGL_LIB_COMPILER_NAME "_" HGL_LIB_DEBUG_NAME "_"
|
2018-11-27 15:43:32 +08:00
|
|
|
|
2019-05-05 14:22:58 +08:00
|
|
|
#define HGL_LIB_END ".a"
|
2018-11-27 15:43:32 +08:00
|
|
|
|
|
|
|
#include<hgl/platform/compiler/DataTypeGNU.h>
|
|
|
|
#include<hgl/platform/compiler/DataTypeTiny.h>
|
|
|
|
#include<hgl/platform/compiler/Property.h>
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
#endif//HGL_COMPILER_LLVM_CLANG_INCLUDE
|