Fix use of __APPLE__ in OpenCL code
commit1ddf0d3ed051c6c35f4f4b5abb069fcd68942b60
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 28 Jan 2016 16:37:10 +0000 (28 17:37 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 28 Jan 2016 22:50:48 +0000 (28 23:50 +0100)
treec2fd059e474249dc03cd0b1fd304e1a19cd79ad0
parentcda4d5b5a70ad6f4503afecf5bf1462be6a2d5ab
Fix use of __APPLE__ in OpenCL code

This is often undefined, so we should use it with ifdef not if.

Change-Id: I08afe0de3ff426640d8050597a386a89e72401ae
src/gromacs/gpu_utils/gpu_utils_ocl.cpp