opencl: Fix compilation on MSVC targets.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f52277e9a
commit
a91d6e9eae
|
@ -513,9 +513,9 @@ open(TYPES, ">$types_file") or die "cannot create $types_file";
|
|||
print TYPES <<END
|
||||
/* Automatically generated from OpenCL registry files; DO NOT EDIT! */
|
||||
|
||||
typedef int32_t cl_int DECLSPEC_ALIGN(4);
|
||||
typedef uint32_t cl_uint DECLSPEC_ALIGN(4);
|
||||
typedef uint64_t cl_ulong DECLSPEC_ALIGN(8);
|
||||
typedef int32_t DECLSPEC_ALIGN(4) cl_int;
|
||||
typedef uint32_t DECLSPEC_ALIGN(4) cl_uint;
|
||||
typedef uint64_t DECLSPEC_ALIGN(8) cl_ulong;
|
||||
|
||||
END
|
||||
;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* Automatically generated from OpenCL registry files; DO NOT EDIT! */
|
||||
|
||||
typedef int32_t cl_int DECLSPEC_ALIGN(4);
|
||||
typedef uint32_t cl_uint DECLSPEC_ALIGN(4);
|
||||
typedef uint64_t cl_ulong DECLSPEC_ALIGN(8);
|
||||
typedef int32_t DECLSPEC_ALIGN(4) cl_int;
|
||||
typedef uint32_t DECLSPEC_ALIGN(4) cl_uint;
|
||||
typedef uint64_t DECLSPEC_ALIGN(8) cl_ulong;
|
||||
|
||||
typedef struct _cl_platform_id * cl_platform_id;
|
||||
typedef struct _cl_device_id * cl_device_id;
|
||||
|
|
Loading…
Reference in New Issue