Remove clang extension
[hashcat.git] / include / kernel_vendor.h
index 0b6a57f..d2ffb59 100644 (file)
@@ -3,15 +3,17 @@
  * License.....: MIT
  */
 
+#ifdef cl_khr_byte_addressable_store
 #pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
+#endif
 
 /**
  * vendor specific
  */
 
-#if VENDOR_ID == 4098
+#if VENDOR_ID == (1 << 0)
 #define IS_AMD
-#elif VENDOR_ID == 4318
+#elif VENDOR_ID == (1 << 6)
 #define IS_NV
 #else
 #define IS_GENERIC
@@ -38,4 +40,4 @@
  */
 
 #ifdef IS_GENERIC
-#endif
\ No newline at end of file
+#endif