summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/EnableStandard/main.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CudaOnly/EnableStandard/main.cu')
-rw-r--r--Tests/CudaOnly/EnableStandard/main.cu8
1 files changed, 7 insertions, 1 deletions
diff --git a/Tests/CudaOnly/EnableStandard/main.cu b/Tests/CudaOnly/EnableStandard/main.cu
index 83e9dfd..f7144e6 100644
--- a/Tests/CudaOnly/EnableStandard/main.cu
+++ b/Tests/CudaOnly/EnableStandard/main.cu
@@ -1,8 +1,14 @@
#include <iostream>
+#ifdef _WIN32
+#define IMPORT __declspec(dllimport)
+#else
+#define IMPORT
+#endif
+
int static_cuda11_func(int);
-int shared_cuda11_func(int);
+IMPORT int shared_cuda11_func(int);
void test_functions()
{