Skip to content

Commit 0f6e6bc

Browse files
rnkZoxc
authored andcommitted
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
1 parent 788592f commit 0f6e6bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler-rt/lib/builtins/int_math.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#if defined(_MSC_VER) && !defined(__clang__)
2929
#include <math.h>
3030
#include <stdlib.h>
31-
#include <ymath.h>
3231
#endif
3332

3433
#if defined(_MSC_VER) && !defined(__clang__)

0 commit comments

Comments
 (0)