CrossFramework Library

XBase/Compiler.hpp

説明を見る。
00001 
00006 #if defined(XBASE_INCLUDED_COMPILER_HPP)
00007 #else
00008 #define XBASE_INCLUDED_COMPILER_HPP
00009 
00010 //------------------------------------------------------------
00012 
00013 
00014 
00015 
00017 #define XBASE_COMPILER_MSVC
00018 #undef  XBASE_COMPILER_MSVC
00019 
00021 #define XBASE_COMPILER_GNUC
00022 #undef  XBASE_COMPILER_GNUC
00023 
00024 // 選択
00025 #if defined(_MSC_VER)
00026     #define XBASE_COMPILER_MSVC
00027 #elif defined(__GNUC__)
00028     #define XBASE_COMPILER_GNUC
00029 #else
00030     #error Unknown Compiler.
00031 #endif
00032 
00034 
00035 //------------------------------------------------------------
00036 #endif
00037 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義