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:
Jacek Caban 2021-09-23 16:26:24 +02:00 committed by Alexandre Julliard
parent 7f52277e9a
commit a91d6e9eae
2 changed files with 6 additions and 6 deletions

View File

@ -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
;

View File

@ -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;