Author: ddunbar
Date: Fri Mar 13 07:23:29 2009
New Revision: 66889

URL: http://llvm.org/viewvc/llvm-project?rev=66889&view=rev
Log:
Driver: Fix thinko in Darwin host identification.

Modified:
    cfe/trunk/lib/Driver/Driver.cpp

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=66889&r1=66888&r2=66889&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Fri Mar 13 07:23:29 2009
@@ -583,7 +583,7 @@
   } else
     Arch = Triple;
 
-  if (memcmp(&Platform[0], "darwin", 6) == 0)
+  if (memcmp(&OS[0], "darwin", 6) == 0)
     return new DarwinHostInfo(Arch.c_str(), Platform.c_str(), OS.c_str());
     
   return new UnknownHostInfo(Arch.c_str(), Platform.c_str(), OS.c_str());


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to