Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 03fc28f

Browse files
rnkalexcrichton
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@357728 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d85fb9e commit 03fc28f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)