{"action":"created","issue":{"url":"https://api.github.com/repos/gpu/JOCLCommon/issues/4","repository_url":"https://api.github.com/repos/gpu/JOCLCommon","labels_url":"https://api.github.com/repos/gpu/JOCLCommon/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/gpu/JOCLCommon/issues/4/comments","events_url":"https://api.github.com/repos/gpu/JOCLCommon/issues/4/events","html_url":"https://github.com/gpu/JOCLCommon/pull/4","id":148648125,"number":4,"title":"Building mac after new headers : Since Mac still does not have 2.0.","user":{"login":"ashishnegi","id":1728946,"avatar_url":"https://avatars.githubusercontent.com/u/1728946?v=3","gravatar_id":"","url":"https://api.github.com/users/ashishnegi","html_url":"https://github.com/ashishnegi","followers_url":"https://api.github.com/users/ashishnegi/followers","following_url":"https://api.github.com/users/ashishnegi/following{/other_user}","gists_url":"https://api.github.com/users/ashishnegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishnegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishnegi/subscriptions","organizations_url":"https://api.github.com/users/ashishnegi/orgs","repos_url":"https://api.github.com/users/ashishnegi/repos","events_url":"https://api.github.com/users/ashishnegi/events{/privacy}","received_events_url":"https://api.github.com/users/ashishnegi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T12:29:31Z","updated_at":"2016-04-15T15:47:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gpu/JOCLCommon/pulls/4","html_url":"https://github.com/gpu/JOCLCommon/pull/4","diff_url":"https://github.com/gpu/JOCLCommon/pull/4.diff","patch_url":"https://github.com/gpu/JOCLCommon/pull/4.patch"},"body":"Building mac after new headers : Since Mac still does not have 2.0 headers, JOCL compilation fails with 1.x headers of Mac. Removing references to system headers."},"comment":{"url":"https://api.github.com/repos/gpu/JOCLCommon/issues/comments/210514797","html_url":"https://github.com/gpu/JOCLCommon/pull/4#issuecomment-210514797","issue_url":"https://api.github.com/repos/gpu/JOCLCommon/issues/4","id":210514797,"user":{"login":"gpu","id":513379,"avatar_url":"https://avatars.githubusercontent.com/u/513379?v=3","gravatar_id":"","url":"https://api.github.com/users/gpu","html_url":"https://github.com/gpu","followers_url":"https://api.github.com/users/gpu/followers","following_url":"https://api.github.com/users/gpu/following{/other_user}","gists_url":"https://api.github.com/users/gpu/gists{/gist_id}","starred_url":"https://api.github.com/users/gpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpu/subscriptions","organizations_url":"https://api.github.com/users/gpu/orgs","repos_url":"https://api.github.com/users/gpu/repos","events_url":"https://api.github.com/users/gpu/events{/privacy}","received_events_url":"https://api.github.com/users/gpu/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T15:47:18Z","updated_at":"2016-04-15T15:47:18Z","body":"The `AvailabilityMacros.h` are Apple-specific again (they are not contained in the Khronos OpenCL registry. A websearch reveals http://opensource.apple.com//source/CarbonHeaders/CarbonHeaders-18.1/AvailabilityMacros.h ).\r\n\r\nAre they required on Mac? If not, the `#include <AvailabilityMacros.h>` in `cl_ext.h` could probably be omitted. If they are required, something like\r\n\r\n    #include <CL/cl.h>\r\n    #ifdef __APPLE__\r\n        #include <AvailabilityMacros.h>\r\n    -#endif\r\n\r\nwould be necessary.\r\n "}}