Remove WindowsTorchApiMacro.h in favor of Export.h (#69585)

Summary:
Follow up to https://github.com/pytorch/pytorch/issues/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: https://github.com/pytorch/pytorch/pull/69585

Reviewed By: mrshenli

Differential Revision: D32958594

Pulled By: albanD

fbshipit-source-id: 1ec7ef63764573fa2b486928955e3a1172150061
This commit is contained in:
Peter Bell
2021-12-09 17:26:46 -08:00
committed by Facebook GitHub Bot
parent f87f1d08e8
commit b2e79ed5ec
235 changed files with 233 additions and 237 deletions

View File

@ -6,7 +6,7 @@
#include <torch/csrc/autograd/variable.h>
#include <torch/csrc/DynamicTypes.h>
#include <torch/csrc/WindowsTorchApiMacro.h>
#include <torch/csrc/Export.h>
#include <algorithm>
#include <cstdarg>