From 779fa193b6433f0afadc3fe3c3a6ad72dce54b2c Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 26 Nov 2013 22:12:55 +0000 Subject: libhb: fix a bunch of compiler warnings git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5905 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/opencl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libhb/opencl.h') diff --git a/libhb/opencl.h b/libhb/opencl.h index 2791e1618..5548a9eb6 100644 --- a/libhb/opencl.h +++ b/libhb/opencl.h @@ -21,8 +21,10 @@ #define HB_OCL_FUNC_DECL(name) HB_OCL_FUNC_TYPE(name) name #define HB_OCL_API(ret, attr, name) typedef ret (attr* HB_OCL_FUNC_TYPE(name)) +#ifdef __APPLE__ #pragma mark - #pragma mark OpenCL API +#endif // __APPLE__ /* Platform API */ HB_OCL_API(cl_int, CL_API_CALL, clGetPlatformIDs) @@ -622,7 +624,9 @@ HB_OCL_API(void *, CL_API_CALL, clGetExtensionFunctionAddressForPlatform) (cl_platform_id /* platform */, const char * /* func_name */); +#ifdef __APPLE__ #pragma mark - +#endif // __APPLE__ typedef struct hb_opencl_library_s { -- cgit v1.2.3