OSDN Git Service

[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)
commitf65227fd46230521b135ca359b8a063507a0221b
treeb7baaf03c12daf8a40aa39136f8520ff8df962e2
parent5814cdbb68da49626cc3103264acc2f6422d7a1b
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307469 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Program.inc