diff options
Diffstat (limited to 'src/gallium/state_trackers/clover/api/util.hpp')
-rw-r--r-- | src/gallium/state_trackers/clover/api/util.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/api/util.hpp b/src/gallium/state_trackers/clover/api/util.hpp index 88f6548f23f..60c8709cc05 100644 --- a/src/gallium/state_trackers/clover/api/util.hpp +++ b/src/gallium/state_trackers/clover/api/util.hpp @@ -29,6 +29,14 @@ #include "core/property.hpp" #include "util/algorithm.hpp" +#ifdef HAVE_CLOVER_ICD +#define CLOVER_API +#define CLOVER_ICD_API PUBLIC +#else +#define CLOVER_API PUBLIC +#define CLOVER_ICD_API PUBLIC +#endif + namespace clover { /// /// Return an error code in \a p if non-zero. |