Skip to content

Commit b2e79ed

Browse files
peterbell10facebook-github-bot
authored andcommittedDec 10, 2021
Remove WindowsTorchApiMacro.h in favor of Export.h (pytorch#69585)
Summary: Follow up to pytorch#68095 This also changes the files from the ATen folder to include c10's `Export.h` instead since they can't ever be exporting `TORCH_PYTHON_API`. cc pietern mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse SciPioneer H-Huang Pull Request resolved: pytorch#69585 Reviewed By: mrshenli Differential Revision: D32958594 Pulled By: albanD fbshipit-source-id: 1ec7ef63764573fa2b486928955e3a1172150061

File tree

235 files changed

+233
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+233
-237
lines changed
 

‎BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ cc_library(
524524
name = "aten_headers",
525525
hdrs = [
526526
"torch/csrc/Export.h",
527-
"torch/csrc/WindowsTorchApiMacro.h",
528527
"torch/csrc/jit/frontend/function_schema_parser.h",
529528
] + glob([
530529
"aten/src/**/*.h",

‎aten/src/ATen/SequenceNumber.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
#include <cstdint>
4-
#include <torch/csrc/WindowsTorchApiMacro.h>
4+
#include <c10/macros/Export.h>
55

66
namespace at {
77

0 commit comments

Comments
 (0)
Please sign in to comment.