summaryrefslogtreecommitdiff
path: root/libcuda/cuda_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcuda/cuda_api.h')
-rw-r--r--libcuda/cuda_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcuda/cuda_api.h b/libcuda/cuda_api.h
index b304a59..0ded242 100644
--- a/libcuda/cuda_api.h
+++ b/libcuda/cuda_api.h
@@ -234,11 +234,11 @@ typedef struct CUgraphicsResource_st *CUgraphicsResource; /**< CUDA graphics int
typedef unsigned long long CUtexObject; /**< An opaque value that represents a CUDA texture object */
typedef unsigned long long CUsurfObject; /**< An opaque value that represents a CUDA surface object */
-#if CUDA_VERSION < 1000
+#if CUDART_VERSION < 10000
typedef struct CUuuid_st { /**< CUDA definition of UUID */
char bytes[16];
} CUuuid;
-#endif
+#endif // #if CUDART_VERSION < 10000
#if __CUDA_API_VERSION >= 4010