mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[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
This commit is contained in:
parent
5289ced7ae
commit
0cc0979214
@ -40,9 +40,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_POSIX_SPAWN
|
||||
#ifdef __sun__
|
||||
#define _RESTRICT_KYWD
|
||||
#endif
|
||||
#include <spawn.h>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
Loading…
Reference in New Issue
Block a user