Mercurial > projects > ldc
diff gen/tollvm.cpp @ 534:7e2867ed70d9
Get rid of isLinux and isWindows in favor of global.params.os.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 24 Aug 2008 16:22:58 +0200 |
parents | eada571dc8ff |
children | fbb1a366cfbc |
line wrap: on
line diff
--- a/gen/tollvm.cpp Thu Aug 21 15:35:39 2008 +0200 +++ b/gen/tollvm.cpp Sun Aug 24 16:22:58 2008 +0200 @@ -705,7 +705,7 @@ 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);