Get rid of isLinux and isWindows in favor of global.params.os.

This commit is contained in:
Christian Kamm
2008-08-24 16:22:58 +02:00
parent fa6f277bdd
commit 72a2db6d7c
4 changed files with 59 additions and 51 deletions

View File

@@ -705,7 +705,7 @@ const LLStructType* DtoMutexType()
return gIR->mutexType;
// win32
if (global.params.isWindows)
if (global.params.os == OSWindows)
{
// CRITICAL_SECTION.sizeof == 68
std::vector<const LLType*> types(17, LLType::Int32Ty);