- Fix typedef that already defined CL_DEVICE_TOPOLOGY_AMD gh#4331 OBS-URL: https://build.opensuse.org/request/show/839887 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=66
13 lines
261 B
Diff
13 lines
261 B
Diff
--- a/src/opencl_common.h
|
|
+++ b/src/opencl_common.h
|
|
@@ -81,6 +81,9 @@
|
|
|
|
#ifndef CL_DEVICE_TOPOLOGY_AMD
|
|
#define CL_DEVICE_TOPOLOGY_AMD 0x4037
|
|
+#endif
|
|
+
|
|
+#ifndef CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD
|
|
typedef union {
|
|
struct {
|
|
cl_uint type;
|