Merge branch 'origin/abn/no_fpe'

This commit is contained in:
vsr 2014-02-24 14:07:34 +04:00
commit 76f23b5675

View File

@ -110,11 +110,10 @@ GEOM_Gen_i::GEOM_Gen_i(CORBA::ORB_ptr orb,
//work around PAL12004, PAL12628
//OSD::SetSignal( true );
bool raiseFPE;
#ifdef _DEBUG_
#if defined(_DEBUG_) | defined(_DEBUG) //the Last for WIN32 default settings
char* envEnableFPE = getenv("ENABLE_FPE");
if (envEnableFPE && atoi(envEnableFPE))
raiseFPE = true;
char* envDisableFPE = getenv("DISABLE_FPE");
if (envDisableFPE && atoi(envDisableFPE))
raiseFPE = false;
#else
raiseFPE = false;
#endif