Content-Length: 265416 | pFad | http://github.com/pytorch/pytorch/commit/dd758848152ac125939eaf8746534bf6435e7a5a

DB [libc++ readiness][caffe2] No reason to check for "ext/stdio_filebuf.… · pytorch/pytorch@dd75884 · GitHub
Skip to content

Commit dd75884

Browse files
yuxuanchen1997facebook-github-bot
authored andcommitted
[libc++ readiness][caffe2] No reason to check for "ext/stdio_filebuf.h" (#154080)
Summary: Pull Request resolved: #154080 There should be no reason to check for existence of this GNU C++ header here in this file. It doesn't include it. Removing this condition makes adfinder linkable under libc++ platform. Test Plan: CI, and build adfinder. Differential Revision: D75179136
1 parent d1fe198 commit dd75884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/csrc/profiler/unwind/unwind_fb.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if defined(__linux__) && (defined(__x86_64__) || defined(__aarch64__)) && \
2-
defined(__has_include) && \
3-
__has_include("ext/stdio_filebuf.h") && defined(FBCODE_CAFFE2)
2+
defined(FBCODE_CAFFE2)
3+
44
#include <c10/util/flat_hash_map.h>
55
#include <llvm/DebugInfo/Symbolize/Symbolize.h>
66
#include <torch/csrc/profiler/unwind/unwind.h>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/pytorch/pytorch/commit/dd758848152ac125939eaf8746534bf6435e7a5a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy