From 0f6e6bc45a56dc5632ef4b64b668d6c5449232b0 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 4 Apr 2019 21:47:15 +0000 Subject: [PATCH] Remove unneeded ymath.h include from int_math.h This avoids a conflict between stdbool.h, which defines bool to _Bool in xkeycheck.h. From what I can tell, ymath.h is an internal header, and the intention is that users should include math.h directly instead. It doesn't appear to provide declarations of anything required for our builtins. This include was added back in r249513 from 2015, and it's possible that ymath.h provided something this code needed at the time, but today it does not. llvm-svn: 357728 --- compiler-rt/lib/builtins/int_math.h | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler-rt/lib/builtins/int_math.h b/compiler-rt/lib/builtins/int_math.h index aa3d0721a8abe6..cc901010137394 100644 --- a/compiler-rt/lib/builtins/int_math.h +++ b/compiler-rt/lib/builtins/int_math.h @@ -28,7 +28,6 @@ #if defined(_MSC_VER) && !defined(__clang__) #include #include -#include #endif #if defined(_MSC_VER) && !defined(__clang__)