llvm.org GIT mirror llvm / f65227f
[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 Kamil Rytarowski 2 years ago
1 changed file(s) with 0 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3939 #include
4040 #endif
4141 #ifdef HAVE_POSIX_SPAWN
42 #ifdef __sun__
43 #define _RESTRICT_KYWD
44 #endif
4542 #include
4643
4744 #if defined(__APPLE__)