- Notifications
You must be signed in to change notification settings - Fork25.8k
Commitdf837d0
Use the libc++ detection instead of clang detection around std:isinfinite (#52164)
Summary:Fixes#52163The libc++ vs libstdc++ detection in the pre-processor is taken fromhttps://stackoverflow.com/questions/31657499/how-to-detect-stdlib-libc-in-the-preprocessorNote that in our case `std:isinfinite` presents means that we don't need to import any additional headers to guarantee the `_LIBCPP_VERSION` presents for the `libc++`.Pull Requestresolved:#52164Reviewed By: albanDDifferential Revision: D26413108Pulled By: malfetfbshipit-source-id: 515e258d6758222c910ababf5172c3a275aff08f1 parentcd46ee6 commitdf837d0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments
Comments
(0)