summaryrefslogtreecommitdiffstats
path: root/libhb/opencl.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-11-26 22:12:55 +0000
committerjstebbins <[email protected]>2013-11-26 22:12:55 +0000
commit779fa193b6433f0afadc3fe3c3a6ad72dce54b2c (patch)
tree9f42ecc28232e0043d095d8a0f9eab5bb95d1b47 /libhb/opencl.h
parent58f46542a4d4629050ebc6dfed50f4ec2bcfa0a4 (diff)
libhb: fix a bunch of compiler warnings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5905 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/opencl.h')
-rw-r--r--libhb/opencl.h4
1 files changed, 4 insertions, 0 deletions
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
{