diff options
author | Rui Guo <guorui.xt@gmail.com> | 2016-10-13 17:22:23 +0300 |
---|---|---|
committer | Rui Guo <guorui.xt@gmail.com> | 2016-10-13 17:22:23 +0300 |
commit | 01c48cb0966b59b95f7b46334719b2a65fae2bf7 (patch) | |
tree | af9063f827aad4913001bbeda421c05bbeb8ccba /torch | |
parent | ada3cbd4e51788eb3e8999389a4bd6285facbf98 (diff) |
changes to make cunn compile on windows with msvc
Diffstat (limited to 'torch')
-rw-r--r-- | torch/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/torch/utils.h b/torch/utils.h index a11b842..ae959b7 100644 --- a/torch/utils.h +++ b/torch/utils.h @@ -17,7 +17,7 @@ #endif #ifdef _WIN32 -# ifdef torch_EXPORTS +# ifdef cutorch_EXPORTS # define TORCH_API TORCH_EXTERNC __declspec(dllexport) # else # define TORCH_API TORCH_EXTERNC __declspec(dllimport) |