diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-16 11:43:03 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-16 11:43:03 +0200 |
commit | 9331442a56f2969e5d4650bf0c31dd84473a4085 (patch) | |
tree | 997aca9619e211fab040bde658e2f0f1519d2171 /include/clblast_c.h | |
parent | 8d5747aa54b88812ef4060328e3befdb13f3f45a (diff) | |
parent | 53deed298facc005f71e9ec2a96d5c4e90d826af (diff) |
Merge branch 'development' into netlib_blas_api
Diffstat (limited to 'include/clblast_c.h')
-rw-r--r-- | include/clblast_c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clblast_c.h b/include/clblast_c.h index a13b8e64..33fb4acf 100644 --- a/include/clblast_c.h +++ b/include/clblast_c.h @@ -24,8 +24,8 @@ // Exports library functions under Windows when building a DLL. See also: // https://msdn.microsoft.com/en-us/library/a90k134d.aspx -#ifdef _WIN32 - #ifdef COMPILING_DLL +#if defined(_WIN32) && defined(CLBLAST_DLL) + #if defined(COMPILING_DLL) #define PUBLIC_API __declspec(dllexport) #else #define PUBLIC_API __declspec(dllimport) |