[Solaris] get rid of _RESTRICT_KYWD warning during the build
authorKamil Rytarowski <n54@gmx.com>
Sat, 8 Jul 2017 11:27:56 +0000 (11:27 +0000)
committerKamil Rytarowski <n54@gmx.com>
Sat, 8 Jul 2017 11:27:56 +0000 (11:27 +0000)
commitaffab3047e777ab69e09d18d23e8e7748b86b728
treecfb06c76f9c853995fe531ba0bf60bde5a7d0fe7
parent70c671a3bf34748e49f22eb24008bd569a7ac594
[Solaris] get rid of _RESTRICT_KYWD warning during the build

Summary:
(re)definition of _RESTRICT_KYWD rightfully causes a warning message during the Solaris build.
This hack is not needed if build compiler is properly configured (.e.g /usr/bin/gcc) so just remove it.

Reviewers: ro, mgorny, krytarowski, joerg

Reviewed By: joerg

Subscribers: quenelle, llvm-commits

Patch by Fedor Sergeev (Oracle).

Differential Revision: https://reviews.llvm.org/D35054

llvm-svn: 307469
llvm/lib/Support/Unix/Program.inc