Changeset 459 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src
- Timestamp:
- Mar 23, 2008, 10:38:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Source.cpp
r402 r459 105 105 ////////////////////////////////////// 106 106 107 CDefine::CDefine( int majorVer ){ 107 CDefine::CDefine( int majorVer ) 108 { 108 109 Init( majorVer ); 109 110 } 110 CDefine::~CDefine(){ 111 } 112 void CDefine::Init( int majorVer ){ 111 CDefine::~CDefine() 112 { 113 } 114 void CDefine::Init( int majorVer ) 115 { 113 116 names.clear(); 114 117 115 extern BOOL bDebugCompile; 116 if(bDebugCompile) add("_DEBUG"); 118 if( compiler.IsDebug() ) 119 { 120 add("_DEBUG"); 121 } 117 122 118 123 #ifdef _AMD64_ … … 120 125 #endif 121 126 122 if( compiler.IsDll() ){ 127 if( compiler.IsDll() ) 128 { 123 129 add("_DLL"); 124 130 } 125 131 126 if( Smoothie::IsUnicode() ){ 132 if( Smoothie::IsUnicode() ) 133 { 127 134 add( "UNICODE" ); 128 135 }
Note:
See TracChangeset
for help on using the changeset viewer.