Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conditionally include __declspec to function definition to fix Window… (
facebookresearch#1584) Summary: …s DLL exports. # Before submitting - [x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)? - [x] Did you make sure to update the docs? - [x] Did you write any new necessary tests? ## What does this PR do? Fixes facebookresearch#292 ☝️ technically this issue should remain open ## PR review Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged. ## Did you have fun? 👍 Pull Request resolved: facebookresearch#1584 Differential Revision: D19289792 Pulled By: myleott fbshipit-source-id: 96af49e2ed808dde3f682906bc2d6e074b522c39
- Loading branch information