Skip to content

Commit

Permalink
Remove unneeded ymath.h include from int_math.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rnk authored and Zoxc committed Jun 21, 2019
1 parent 788592f commit 0f6e6bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler-rt/lib/builtins/int_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#if defined(_MSC_VER) && !defined(__clang__)
#include <math.h>
#include <stdlib.h>
#include <ymath.h>
#endif

#if defined(_MSC_VER) && !defined(__clang__)
Expand Down

0 comments on commit 0f6e6bc

Please sign in to comment.