mirror of
https://github.com/hashcat/hashcat
synced 2024-12-23 14:13:43 +01:00
update OpenCL-Headers deps
This commit is contained in:
parent
d1f473d6ba
commit
35e07fec28
8
deps/OpenCL-Headers/CL/cl.h
vendored
8
deps/OpenCL-Headers/CL/cl.h
vendored
@ -137,19 +137,23 @@ typedef struct _cl_image_desc {
|
||||
size_t image_slice_pitch;
|
||||
cl_uint num_mip_levels;
|
||||
cl_uint num_samples;
|
||||
#ifdef CL_VERSION_2_0
|
||||
#ifdef __GNUC__
|
||||
__extension__ /* Prevents warnings about anonymous union in -pedantic builds */
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( push )
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4201 ) /* Prevents warning about nameless struct/union in /W4 /Za builds */
|
||||
#endif
|
||||
union {
|
||||
#endif
|
||||
cl_mem buffer;
|
||||
#ifdef CL_VERSION_2_0
|
||||
cl_mem mem_object;
|
||||
};
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( pop )
|
||||
#pragma warning( pop )
|
||||
#endif
|
||||
#endif
|
||||
} cl_image_desc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user