use __has_include() to guard against Hipster or old Solaris
This commit is contained in:
parent
4fb53e3f8e
commit
59984d4aa3
4
gmp-h.in
4
gmp-h.in
@ -29,8 +29,12 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
|
||||
#endif
|
||||
|
||||
#if defined(sun) || defined(__sun)
|
||||
#if defined(__has_include) /* should work on gcc 5.x or better, or on clang */
|
||||
#if __has_include(<stdint.h>)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (__cplusplus)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user