mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 17:29:02 +02:00
Get rid of isLinux and isWindows in favor of global.params.os.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user