Index: trunk/ab5.0/abdev/compiler_x86/Compile_Object.cpp
===================================================================
--- trunk/ab5.0/abdev/compiler_x86/Compile_Object.cpp	(revision 749)
+++ trunk/ab5.0/abdev/compiler_x86/Compile_Object.cpp	(revision 750)
@@ -111,5 +111,5 @@
 	{
 		std::string tempMessage;
-		BOOST_FOREACH( const CMethod *pMethod, pClass->GetDynamicMethods() ){
+		foreach( const CMethod *pMethod, pClass->GetDynamicMethods() ){
 			if(pMethod->IsVirtual()){
 				if(pMethod->IsAbstract()){
@@ -124,7 +124,7 @@
 
 		// インターフェイスのvtbl
-		BOOST_FOREACH( const ::Interface *pInterface, pClass->GetInterfaces() )
+		foreach( const ::Interface *pInterface, pClass->GetInterfaces() )
 		{
-			BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
+			foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
 				if(pMethod->IsVirtual()){
 					if(pMethod->IsAbstract()){
@@ -261,5 +261,5 @@
 
 		// 仮想関数になるメソッドに使用チェックをつける
-		BOOST_FOREACH( const CMethod *pMethod, pClass->GetDynamicMethods() )
+		foreach( const CMethod *pMethod, pClass->GetDynamicMethods() )
 		{
 			if( pMethod->IsVirtual() )
@@ -268,7 +268,7 @@
 			}
 		}
-		BOOST_FOREACH( const ::Interface *pInterface, pClass->GetInterfaces() )
+		foreach( const ::Interface *pInterface, pClass->GetInterfaces() )
 		{
-			BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() )
+			foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() )
 			{
 				if( pMethod->IsVirtual() )
Index: trunk/ab5.0/abdev/compiler_x86/Compile_ProcOp.cpp
===================================================================
--- trunk/ab5.0/abdev/compiler_x86/Compile_ProcOp.cpp	(revision 749)
+++ trunk/ab5.0/abdev/compiler_x86/Compile_ProcOp.cpp	(revision 750)
@@ -56,5 +56,5 @@
 		//静的ローカルオブジェクトのコンストラクタ呼び出し
 
-		BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
+		foreach( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
 			if(memicmp(pVar->GetName().c_str(),"Static%",7)==0){
 				//コンストラクタ呼び出し
@@ -225,5 +225,5 @@
 
 		//Goto未知ラベルスケジュールが存在したらエラーにする
-		BOOST_FOREACH( const GotoLabelSchedule *pGotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules )
+		foreach( const GotoLabelSchedule *pGotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules )
 		{
 			if(pGotoLabelSchedule->GetName().size()>0){
@@ -699,10 +699,10 @@
 
 	//ローカル変数アドレススケジュール
-	BOOST_FOREACH( const PertialSchedule *pPertialSchedule, compiler.codeGenerator.localVarPertialSchedules )
+	foreach( const PertialSchedule *pPertialSchedule, compiler.codeGenerator.localVarPertialSchedules )
 	{
 		compiler.codeGenerator.opfix_offset( pPertialSchedule, AllLocalVarSize );
 	}
 	compiler.codeGenerator.localVarPertialSchedules.clear();
-	BOOST_FOREACH( Variable *pVar, pUserProc->GetLocalVars() ){
+	foreach( Variable *pVar, pUserProc->GetLocalVars() ){
 		//後にデバッグで利用する
 		pVar->SetOffsetAddress( AllLocalVarSize - pVar->GetOffsetAddress() );
Index: trunk/ab5.0/abdev/compiler_x86/Compile_Statement.cpp
===================================================================
--- trunk/ab5.0/abdev/compiler_x86/Compile_Statement.cpp	(revision 749)
+++ trunk/ab5.0/abdev/compiler_x86/Compile_Statement.cpp	(revision 750)
@@ -289,5 +289,5 @@
 int GetLabelAddress(char *LabelName,int LineNum){
 	if(LabelName){
-		BOOST_FOREACH( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
+		foreach( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
 		{
 			if( label.name.size() > 0 )
@@ -301,5 +301,5 @@
 	}
 	else{
-		BOOST_FOREACH( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
+		foreach( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
 		{
 			if( label.name.size() == 0 )
Index: trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp
===================================================================
--- trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp	(revision 749)
+++ trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp	(revision 750)
@@ -792,5 +792,5 @@
 
 			int i = 0;
-			BOOST_FOREACH( Member *pMember, objClass.GetDynamicMembers() ){
+			foreach( Member *pMember, objClass.GetDynamicMembers() ){
 				if(InitBuf[i]=='\0'){
 					compiler.errorMessenger.Output(41,0,cp);
@@ -955,5 +955,5 @@
 
 			int i = 0;
-			BOOST_FOREACH( Member *pMember, objClass.GetDynamicMembers() ){
+			foreach( Member *pMember, objClass.GetDynamicMembers() ){
 				if(InitBuf[i]=='\0'){
 					compiler.errorMessenger.Output(41,0,cp);
@@ -1333,5 +1333,5 @@
 	}
 
-	BOOST_FOREACH( const Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
+	foreach( const Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
 		if( pVar->GetType().IsObject() || pVar->GetType().IsPointer() || pVar->GetType().IsStruct() ){
 			// オブジェクトまたはポインタだったとき
Index: trunk/ab5.0/abdev/compiler_x86/MakePeHdr.cpp
===================================================================
--- trunk/ab5.0/abdev/compiler_x86/MakePeHdr.cpp	(revision 749)
+++ trunk/ab5.0/abdev/compiler_x86/MakePeHdr.cpp	(revision 750)
@@ -126,5 +126,5 @@
 	ActiveBasic::Common::Lexical::ResolveErrors resolveErrors;
 	compiler.GetObjectModule().Resolve( resolveErrors );
-	BOOST_FOREACH( const ResolveError &resolveError, resolveErrors )
+	foreach( const ResolveError &resolveError, resolveErrors )
 	{
 		compiler.errorMessenger.Output( ErrorInfo( 13, resolveError.GetTargetItemName(), -1 ) );
@@ -551,5 +551,5 @@
 	// 使用するDLL関数のチェック
 	////////////////////////////////
-	BOOST_FOREACH( const Schedule &schedule, compiler.linker.GetNativeCode().GetSchedules() )
+	foreach( const Schedule &schedule, compiler.linker.GetNativeCode().GetSchedules() )
 	{
 		if( schedule.GetType() == Schedule::DllProc )
@@ -834,5 +834,5 @@
 	//グローバル変数情報を扱う構造体も初期バッファの有無による配置を行う
 	//（デバッグ情報で利用される）
-	BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
+	foreach( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
 		if(pVar->GetOffsetAddress()&0x80000000){
 			pVar->SetOffsetAddress(
Index: trunk/ab5.0/abdev/compiler_x86/stdafx.h
===================================================================
--- trunk/ab5.0/abdev/compiler_x86/stdafx.h	(revision 749)
+++ trunk/ab5.0/abdev/compiler_x86/stdafx.h	(revision 750)
@@ -10,4 +10,5 @@
 #include <streambuf>
 #include <sstream>
+#include <algorithm>
 
 #include <windows.h>
@@ -19,7 +20,4 @@
 #include <limits.h>
 #include <shlobj.h>
-#include <process.h>
-#include <fcntl.h>
-#include <io.h>
 #include <shlwapi.h>
 #include <tchar.h>
@@ -58,7 +56,2 @@
 #include <DataTableGenerator.h>
 #include <BreakPoint.h>
-
-#define lstrlenA strlen
-#define lstrcmpA strcmp
-#define lstrcpyA strcpy
-#define lstrcmpiA _stricmp
