{"action":"created","comment":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/comments/56757933","id":56757933,"diff_hunk":"@@ -889,7 +889,7 @@ extern (C++) int runProgram()\n         // spawnlp returns intptr_t in some systems, not int\n         return spawnv(0, ex, argv.tdata());\n     }\n-    else static if (__linux__ || __APPLE__ || __FreeBSD__ || __OpenBSD__ || __sun)\n+    else static if (HOST_LINUX || HOST_OSX || HOST_FREEBSD || HOST_OPENBSD || HOST_SOLARIS)","path":"src/link.d","position":41,"original_position":41,"commit_id":"8f38ddbffcf53060f30acc2da6a482c21da41994","original_commit_id":"8f38ddbffcf53060f30acc2da6a482c21da41994","user":{"login":"WalterBright","id":568298,"avatar_url":"https://avatars.githubusercontent.com/u/568298?v=3","gravatar_id":"","url":"https://api.github.com/users/WalterBright","html_url":"https://github.com/WalterBright","followers_url":"https://api.github.com/users/WalterBright/followers","following_url":"https://api.github.com/users/WalterBright/following{/other_user}","gists_url":"https://api.github.com/users/WalterBright/gists{/gist_id}","starred_url":"https://api.github.com/users/WalterBright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WalterBright/subscriptions","organizations_url":"https://api.github.com/users/WalterBright/orgs","repos_url":"https://api.github.com/users/WalterBright/repos","events_url":"https://api.github.com/users/WalterBright/events{/privacy}","received_events_url":"https://api.github.com/users/WalterBright/received_events","type":"User","site_admin":false},"body":"```\r\nelse version (Posix)\r\n```","created_at":"2016-03-20T01:40:12Z","updated_at":"2016-03-20T01:40:12Z","html_url":"https://github.com/D-Programming-Language/dmd/pull/5549#discussion_r56757933","pull_request_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549","_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/comments/56757933"},"html":{"href":"https://github.com/D-Programming-Language/dmd/pull/5549#discussion_r56757933"},"pull_request":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549"}}},"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549","id":63482650,"html_url":"https://github.com/D-Programming-Language/dmd/pull/5549","diff_url":"https://github.com/D-Programming-Language/dmd/pull/5549.diff","patch_url":"https://github.com/D-Programming-Language/dmd/pull/5549.patch","issue_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5549","number":5549,"state":"open","locked":false,"title":"[refactor] Replace host version names inherited from C++ with `HOST_*`","user":{"login":"yebblies","id":580100,"avatar_url":"https://avatars.githubusercontent.com/u/580100?v=3","gravatar_id":"","url":"https://api.github.com/users/yebblies","html_url":"https://github.com/yebblies","followers_url":"https://api.github.com/users/yebblies/followers","following_url":"https://api.github.com/users/yebblies/following{/other_user}","gists_url":"https://api.github.com/users/yebblies/gists{/gist_id}","starred_url":"https://api.github.com/users/yebblies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yebblies/subscriptions","organizations_url":"https://api.github.com/users/yebblies/orgs","repos_url":"https://api.github.com/users/yebblies/repos","events_url":"https://api.github.com/users/yebblies/events{/privacy}","received_events_url":"https://api.github.com/users/yebblies/received_events","type":"User","site_admin":false},"body":"I came across this when trying to automatically generate frontend headers, since those symbols will conflict with the system definitions.","created_at":"2016-03-20T00:08:39Z","updated_at":"2016-03-20T01:40:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66fa1bcd4bd72ab4b7c2394949fc10c27f481ccf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549/commits","review_comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549/comments","review_comment_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5549/comments","statuses_url":"https://api.github.com/repos/D-Programming-Language/dmd/statuses/8f38ddbffcf53060f30acc2da6a482c21da41994","head":{"label":"yebblies:HOST","ref":"HOST","sha":"8f38ddbffcf53060f30acc2da6a482c21da41994","user":{"login":"yebblies","id":580100,"avatar_url":"https://avatars.githubusercontent.com/u/580100?v=3","gravatar_id":"","url":"https://api.github.com/users/yebblies","html_url":"https://github.com/yebblies","followers_url":"https://api.github.com/users/yebblies/followers","following_url":"https://api.github.com/users/yebblies/following{/other_user}","gists_url":"https://api.github.com/users/yebblies/gists{/gist_id}","starred_url":"https://api.github.com/users/yebblies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yebblies/subscriptions","organizations_url":"https://api.github.com/users/yebblies/orgs","repos_url":"https://api.github.com/users/yebblies/repos","events_url":"https://api.github.com/users/yebblies/events{/privacy}","received_events_url":"https://api.github.com/users/yebblies/received_events","type":"User","site_admin":false},"repo":{"id":1850344,"name":"dmd","full_name":"yebblies/dmd","owner":{"login":"yebblies","id":580100,"avatar_url":"https://avatars.githubusercontent.com/u/580100?v=3","gravatar_id":"","url":"https://api.github.com/users/yebblies","html_url":"https://github.com/yebblies","followers_url":"https://api.github.com/users/yebblies/followers","following_url":"https://api.github.com/users/yebblies/following{/other_user}","gists_url":"https://api.github.com/users/yebblies/gists{/gist_id}","starred_url":"https://api.github.com/users/yebblies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yebblies/subscriptions","organizations_url":"https://api.github.com/users/yebblies/orgs","repos_url":"https://api.github.com/users/yebblies/repos","events_url":"https://api.github.com/users/yebblies/events{/privacy}","received_events_url":"https://api.github.com/users/yebblies/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yebblies/dmd","description":"dmd D Programming Language compiler","fork":true,"url":"https://api.github.com/repos/yebblies/dmd","forks_url":"https://api.github.com/repos/yebblies/dmd/forks","keys_url":"https://api.github.com/repos/yebblies/dmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yebblies/dmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yebblies/dmd/teams","hooks_url":"https://api.github.com/repos/yebblies/dmd/hooks","issue_events_url":"https://api.github.com/repos/yebblies/dmd/issues/events{/number}","events_url":"https://api.github.com/repos/yebblies/dmd/events","assignees_url":"https://api.github.com/repos/yebblies/dmd/assignees{/user}","branches_url":"https://api.github.com/repos/yebblies/dmd/branches{/branch}","tags_url":"https://api.github.com/repos/yebblies/dmd/tags","blobs_url":"https://api.github.com/repos/yebblies/dmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yebblies/dmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yebblies/dmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/yebblies/dmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yebblies/dmd/statuses/{sha}","languages_url":"https://api.github.com/repos/yebblies/dmd/languages","stargazers_url":"https://api.github.com/repos/yebblies/dmd/stargazers","contributors_url":"https://api.github.com/repos/yebblies/dmd/contributors","subscribers_url":"https://api.github.com/repos/yebblies/dmd/subscribers","subscription_url":"https://api.github.com/repos/yebblies/dmd/subscription","commits_url":"https://api.github.com/repos/yebblies/dmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/yebblies/dmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/yebblies/dmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/yebblies/dmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/yebblies/dmd/contents/{+path}","compare_url":"https://api.github.com/repos/yebblies/dmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yebblies/dmd/merges","archive_url":"https://api.github.com/repos/yebblies/dmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yebblies/dmd/downloads","issues_url":"https://api.github.com/repos/yebblies/dmd/issues{/number}","pulls_url":"https://api.github.com/repos/yebblies/dmd/pulls{/number}","milestones_url":"https://api.github.com/repos/yebblies/dmd/milestones{/number}","notifications_url":"https://api.github.com/repos/yebblies/dmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yebblies/dmd/labels{/name}","releases_url":"https://api.github.com/repos/yebblies/dmd/releases{/id}","deployments_url":"https://api.github.com/repos/yebblies/dmd/deployments","created_at":"2011-06-05T13:45:33Z","updated_at":"2016-02-21T19:14:54Z","pushed_at":"2016-03-20T00:57:38Z","git_url":"git://github.com/yebblies/dmd.git","ssh_url":"git@github.com:yebblies/dmd.git","clone_url":"https://github.com/yebblies/dmd.git","svn_url":"https://github.com/yebblies/dmd","homepage":"d-programming-language.org","size":64420,"stargazers_count":7,"watchers_count":7,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":7,"default_branch":"master"}},"base":{"label":"D-Programming-Language:master","ref":"master","sha":"6d662f4c8c8921988ebb313fef823c1afc781fad","user":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"repo":{"id":1257070,"name":"dmd","full_name":"D-Programming-Language/dmd","owner":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-Language/dmd","description":"dmd D Programming Language compiler","fork":false,"url":"https://api.github.com/repos/D-Programming-Language/dmd","forks_url":"https://api.github.com/repos/D-Programming-Language/dmd/forks","keys_url":"https://api.github.com/repos/D-Programming-Language/dmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-Language/dmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-Language/dmd/teams","hooks_url":"https://api.github.com/repos/D-Programming-Language/dmd/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-Language/dmd/events","assignees_url":"https://api.github.com/repos/D-Programming-Language/dmd/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-Language/dmd/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-Language/dmd/tags","blobs_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-Language/dmd/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-Language/dmd/languages","stargazers_url":"https://api.github.com/repos/D-Programming-Language/dmd/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-Language/dmd/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-Language/dmd/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-Language/dmd/subscription","commits_url":"https://api.github.com/repos/D-Programming-Language/dmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-Language/dmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/D-Programming-Language/dmd/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-Language/dmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-Language/dmd/merges","archive_url":"https://api.github.com/repos/D-Programming-Language/dmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-Language/dmd/downloads","issues_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-Language/dmd/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-Language/dmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-Language/dmd/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-Language/dmd/releases{/id}","deployments_url":"https://api.github.com/repos/D-Programming-Language/dmd/deployments","created_at":"2011-01-15T06:53:53Z","updated_at":"2016-03-19T18:44:22Z","pushed_at":"2016-03-20T01:17:14Z","git_url":"git://github.com/D-Programming-Language/dmd.git","ssh_url":"git@github.com:D-Programming-Language/dmd.git","clone_url":"https://github.com/D-Programming-Language/dmd.git","svn_url":"https://github.com/D-Programming-Language/dmd","homepage":"dlang.org","size":86228,"stargazers_count":1204,"watchers_count":1204,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":361,"mirror_url":null,"open_issues_count":135,"forks":361,"open_issues":135,"watchers":1204,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549"},"html":{"href":"https://github.com/D-Programming-Language/dmd/pull/5549"},"issue":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5549"},"comments":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5549/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5549/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-Language/dmd/statuses/8f38ddbffcf53060f30acc2da6a482c21da41994"}}}}