Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/cutorch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/torch
diff options
context:
space:
mode:
authorRui Guo <guorui.xt@gmail.com>2016-10-13 17:22:23 +0300
committerRui Guo <guorui.xt@gmail.com>2016-10-13 17:22:23 +0300
commit01c48cb0966b59b95f7b46334719b2a65fae2bf7 (patch)
treeaf9063f827aad4913001bbeda421c05bbeb8ccba /torch
parentada3cbd4e51788eb3e8999389a4bd6285facbf98 (diff)
changes to make cunn compile on windows with msvc
Diffstat (limited to 'torch')
-rw-r--r--torch/utils.h2
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)