[PATCH] Properly recognize CentOS 6.x

Dimitry Andric dimitry at andric.com
Sun May 4 06:18:53 PDT 2014


Hi,

Here is a patch to make clang properly recognize CentOS 6.x, mainly for use in IsRedHat().  While here, I micro-optimized the if statement a little.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-centos6-detection-1.diff
Type: application/octet-stream
Size: 1302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140504/67a96260/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140504/67a96260/attachment.sig>


More information about the cfe-commits mailing list