{"action":"created","comment":{"url":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/comments/75583010","id":75583010,"diff_hunk":"@@ -57,7 +58,7 @@ void split_uptime(long uptime, unsigned int *secs, unsigned int *mins,\n */\n void take_screenshot(bool verbose)\n {\n-#if !defined(__CYGWIN__)\n+#if !defined(WIN32_LEAN_AND_MEAN)","path":"src/util.c","position":16,"original_position":16,"commit_id":"e1ad204a2c04e49987a95418058be41a84684d2e","original_commit_id":"e1ad204a2c04e49987a95418058be41a84684d2e","user":{"login":"woodruffw","id":3059210,"avatar_url":"https://avatars.githubusercontent.com/u/3059210?v=3","gravatar_id":"","url":"https://api.github.com/users/woodruffw","html_url":"https://github.com/woodruffw","followers_url":"https://api.github.com/users/woodruffw/followers","following_url":"https://api.github.com/users/woodruffw/following{/other_user}","gists_url":"https://api.github.com/users/woodruffw/gists{/gist_id}","starred_url":"https://api.github.com/users/woodruffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodruffw/subscriptions","organizations_url":"https://api.github.com/users/woodruffw/orgs","repos_url":"https://api.github.com/users/woodruffw/repos","events_url":"https://api.github.com/users/woodruffw/events{/privacy}","received_events_url":"https://api.github.com/users/woodruffw/received_events","type":"User","site_admin":false},"body":"Same as above - prefer `_WIN32`.","created_at":"2016-08-20T18:44:21Z","updated_at":"2016-08-20T18:44:21Z","html_url":"https://github.com/woodruffw/screenfetch-c/pull/28#discussion_r75583010","pull_request_url":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/comments/75583010"},"html":{"href":"https://github.com/woodruffw/screenfetch-c/pull/28#discussion_r75583010"},"pull_request":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28","id":82084767,"html_url":"https://github.com/woodruffw/screenfetch-c/pull/28","diff_url":"https://github.com/woodruffw/screenfetch-c/pull/28.diff","patch_url":"https://github.com/woodruffw/screenfetch-c/pull/28.patch","issue_url":"https://api.github.com/repos/woodruffw/screenfetch-c/issues/28","number":28,"state":"open","locked":false,"title":"win32: save screenshots to .bmp file","user":{"login":"darealshinji","id":5700937,"avatar_url":"https://avatars.githubusercontent.com/u/5700937?v=3","gravatar_id":"","url":"https://api.github.com/users/darealshinji","html_url":"https://github.com/darealshinji","followers_url":"https://api.github.com/users/darealshinji/followers","following_url":"https://api.github.com/users/darealshinji/following{/other_user}","gists_url":"https://api.github.com/users/darealshinji/gists{/gist_id}","starred_url":"https://api.github.com/users/darealshinji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darealshinji/subscriptions","organizations_url":"https://api.github.com/users/darealshinji/orgs","repos_url":"https://api.github.com/users/darealshinji/repos","events_url":"https://api.github.com/users/darealshinji/events{/privacy}","received_events_url":"https://api.github.com/users/darealshinji/received_events","type":"User","site_admin":false},"body":"Code was taken from [MSDN](https://msdn.microsoft.com/de-de/library/windows/desktop/dd145119(v=vs.85).aspx) but also includes small changes from the version posted on [this blog](http://www.sas.bg/code-snippets/how-can-i-create-bmp-file-from-hbitmap.html). Not exactly sure what means to the license.","created_at":"2016-08-20T17:42:45Z","updated_at":"2016-08-20T18:44:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41cd77580a4819f624360ef242aebf9b4f6f9586","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28/commits","review_comments_url":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28/comments","review_comment_url":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/comments{/number}","comments_url":"https://api.github.com/repos/woodruffw/screenfetch-c/issues/28/comments","statuses_url":"https://api.github.com/repos/woodruffw/screenfetch-c/statuses/e1ad204a2c04e49987a95418058be41a84684d2e","head":{"label":"darealshinji:screenshot_win32","ref":"screenshot_win32","sha":"e1ad204a2c04e49987a95418058be41a84684d2e","user":{"login":"darealshinji","id":5700937,"avatar_url":"https://avatars.githubusercontent.com/u/5700937?v=3","gravatar_id":"","url":"https://api.github.com/users/darealshinji","html_url":"https://github.com/darealshinji","followers_url":"https://api.github.com/users/darealshinji/followers","following_url":"https://api.github.com/users/darealshinji/following{/other_user}","gists_url":"https://api.github.com/users/darealshinji/gists{/gist_id}","starred_url":"https://api.github.com/users/darealshinji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darealshinji/subscriptions","organizations_url":"https://api.github.com/users/darealshinji/orgs","repos_url":"https://api.github.com/users/darealshinji/repos","events_url":"https://api.github.com/users/darealshinji/events{/privacy}","received_events_url":"https://api.github.com/users/darealshinji/received_events","type":"User","site_admin":false},"repo":{"id":66159144,"name":"screenfetch-c","full_name":"darealshinji/screenfetch-c","owner":{"login":"darealshinji","id":5700937,"avatar_url":"https://avatars.githubusercontent.com/u/5700937?v=3","gravatar_id":"","url":"https://api.github.com/users/darealshinji","html_url":"https://github.com/darealshinji","followers_url":"https://api.github.com/users/darealshinji/followers","following_url":"https://api.github.com/users/darealshinji/following{/other_user}","gists_url":"https://api.github.com/users/darealshinji/gists{/gist_id}","starred_url":"https://api.github.com/users/darealshinji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darealshinji/subscriptions","organizations_url":"https://api.github.com/users/darealshinji/orgs","repos_url":"https://api.github.com/users/darealshinji/repos","events_url":"https://api.github.com/users/darealshinji/events{/privacy}","received_events_url":"https://api.github.com/users/darealshinji/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darealshinji/screenfetch-c","description":"A rewrite of screenFetch in C.","fork":true,"url":"https://api.github.com/repos/darealshinji/screenfetch-c","forks_url":"https://api.github.com/repos/darealshinji/screenfetch-c/forks","keys_url":"https://api.github.com/repos/darealshinji/screenfetch-c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darealshinji/screenfetch-c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darealshinji/screenfetch-c/teams","hooks_url":"https://api.github.com/repos/darealshinji/screenfetch-c/hooks","issue_events_url":"https://api.github.com/repos/darealshinji/screenfetch-c/issues/events{/number}","events_url":"https://api.github.com/repos/darealshinji/screenfetch-c/events","assignees_url":"https://api.github.com/repos/darealshinji/screenfetch-c/assignees{/user}","branches_url":"https://api.github.com/repos/darealshinji/screenfetch-c/branches{/branch}","tags_url":"https://api.github.com/repos/darealshinji/screenfetch-c/tags","blobs_url":"https://api.github.com/repos/darealshinji/screenfetch-c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darealshinji/screenfetch-c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darealshinji/screenfetch-c/git/refs{/sha}","trees_url":"https://api.github.com/repos/darealshinji/screenfetch-c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darealshinji/screenfetch-c/statuses/{sha}","languages_url":"https://api.github.com/repos/darealshinji/screenfetch-c/languages","stargazers_url":"https://api.github.com/repos/darealshinji/screenfetch-c/stargazers","contributors_url":"https://api.github.com/repos/darealshinji/screenfetch-c/contributors","subscribers_url":"https://api.github.com/repos/darealshinji/screenfetch-c/subscribers","subscription_url":"https://api.github.com/repos/darealshinji/screenfetch-c/subscription","commits_url":"https://api.github.com/repos/darealshinji/screenfetch-c/commits{/sha}","git_commits_url":"https://api.github.com/repos/darealshinji/screenfetch-c/git/commits{/sha}","comments_url":"https://api.github.com/repos/darealshinji/screenfetch-c/comments{/number}","issue_comment_url":"https://api.github.com/repos/darealshinji/screenfetch-c/issues/comments{/number}","contents_url":"https://api.github.com/repos/darealshinji/screenfetch-c/contents/{+path}","compare_url":"https://api.github.com/repos/darealshinji/screenfetch-c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darealshinji/screenfetch-c/merges","archive_url":"https://api.github.com/repos/darealshinji/screenfetch-c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darealshinji/screenfetch-c/downloads","issues_url":"https://api.github.com/repos/darealshinji/screenfetch-c/issues{/number}","pulls_url":"https://api.github.com/repos/darealshinji/screenfetch-c/pulls{/number}","milestones_url":"https://api.github.com/repos/darealshinji/screenfetch-c/milestones{/number}","notifications_url":"https://api.github.com/repos/darealshinji/screenfetch-c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darealshinji/screenfetch-c/labels{/name}","releases_url":"https://api.github.com/repos/darealshinji/screenfetch-c/releases{/id}","deployments_url":"https://api.github.com/repos/darealshinji/screenfetch-c/deployments","created_at":"2016-08-20T17:24:34Z","updated_at":"2016-08-20T17:24:36Z","pushed_at":"2016-08-20T17:33:53Z","git_url":"git://github.com/darealshinji/screenfetch-c.git","ssh_url":"git@github.com:darealshinji/screenfetch-c.git","clone_url":"https://github.com/darealshinji/screenfetch-c.git","svn_url":"https://github.com/darealshinji/screenfetch-c","homepage":"","size":2212,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"woodruffw:master","ref":"master","sha":"fd4086bf202250062681b45b54aa9ab0c843b65d","user":{"login":"woodruffw","id":3059210,"avatar_url":"https://avatars.githubusercontent.com/u/3059210?v=3","gravatar_id":"","url":"https://api.github.com/users/woodruffw","html_url":"https://github.com/woodruffw","followers_url":"https://api.github.com/users/woodruffw/followers","following_url":"https://api.github.com/users/woodruffw/following{/other_user}","gists_url":"https://api.github.com/users/woodruffw/gists{/gist_id}","starred_url":"https://api.github.com/users/woodruffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodruffw/subscriptions","organizations_url":"https://api.github.com/users/woodruffw/orgs","repos_url":"https://api.github.com/users/woodruffw/repos","events_url":"https://api.github.com/users/woodruffw/events{/privacy}","received_events_url":"https://api.github.com/users/woodruffw/received_events","type":"User","site_admin":false},"repo":{"id":12252298,"name":"screenfetch-c","full_name":"woodruffw/screenfetch-c","owner":{"login":"woodruffw","id":3059210,"avatar_url":"https://avatars.githubusercontent.com/u/3059210?v=3","gravatar_id":"","url":"https://api.github.com/users/woodruffw","html_url":"https://github.com/woodruffw","followers_url":"https://api.github.com/users/woodruffw/followers","following_url":"https://api.github.com/users/woodruffw/following{/other_user}","gists_url":"https://api.github.com/users/woodruffw/gists{/gist_id}","starred_url":"https://api.github.com/users/woodruffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodruffw/subscriptions","organizations_url":"https://api.github.com/users/woodruffw/orgs","repos_url":"https://api.github.com/users/woodruffw/repos","events_url":"https://api.github.com/users/woodruffw/events{/privacy}","received_events_url":"https://api.github.com/users/woodruffw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/woodruffw/screenfetch-c","description":"A rewrite of screenFetch in C.","fork":false,"url":"https://api.github.com/repos/woodruffw/screenfetch-c","forks_url":"https://api.github.com/repos/woodruffw/screenfetch-c/forks","keys_url":"https://api.github.com/repos/woodruffw/screenfetch-c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woodruffw/screenfetch-c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woodruffw/screenfetch-c/teams","hooks_url":"https://api.github.com/repos/woodruffw/screenfetch-c/hooks","issue_events_url":"https://api.github.com/repos/woodruffw/screenfetch-c/issues/events{/number}","events_url":"https://api.github.com/repos/woodruffw/screenfetch-c/events","assignees_url":"https://api.github.com/repos/woodruffw/screenfetch-c/assignees{/user}","branches_url":"https://api.github.com/repos/woodruffw/screenfetch-c/branches{/branch}","tags_url":"https://api.github.com/repos/woodruffw/screenfetch-c/tags","blobs_url":"https://api.github.com/repos/woodruffw/screenfetch-c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woodruffw/screenfetch-c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woodruffw/screenfetch-c/git/refs{/sha}","trees_url":"https://api.github.com/repos/woodruffw/screenfetch-c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woodruffw/screenfetch-c/statuses/{sha}","languages_url":"https://api.github.com/repos/woodruffw/screenfetch-c/languages","stargazers_url":"https://api.github.com/repos/woodruffw/screenfetch-c/stargazers","contributors_url":"https://api.github.com/repos/woodruffw/screenfetch-c/contributors","subscribers_url":"https://api.github.com/repos/woodruffw/screenfetch-c/subscribers","subscription_url":"https://api.github.com/repos/woodruffw/screenfetch-c/subscription","commits_url":"https://api.github.com/repos/woodruffw/screenfetch-c/commits{/sha}","git_commits_url":"https://api.github.com/repos/woodruffw/screenfetch-c/git/commits{/sha}","comments_url":"https://api.github.com/repos/woodruffw/screenfetch-c/comments{/number}","issue_comment_url":"https://api.github.com/repos/woodruffw/screenfetch-c/issues/comments{/number}","contents_url":"https://api.github.com/repos/woodruffw/screenfetch-c/contents/{+path}","compare_url":"https://api.github.com/repos/woodruffw/screenfetch-c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woodruffw/screenfetch-c/merges","archive_url":"https://api.github.com/repos/woodruffw/screenfetch-c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woodruffw/screenfetch-c/downloads","issues_url":"https://api.github.com/repos/woodruffw/screenfetch-c/issues{/number}","pulls_url":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls{/number}","milestones_url":"https://api.github.com/repos/woodruffw/screenfetch-c/milestones{/number}","notifications_url":"https://api.github.com/repos/woodruffw/screenfetch-c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woodruffw/screenfetch-c/labels{/name}","releases_url":"https://api.github.com/repos/woodruffw/screenfetch-c/releases{/id}","deployments_url":"https://api.github.com/repos/woodruffw/screenfetch-c/deployments","created_at":"2013-08-20T19:35:57Z","updated_at":"2016-08-20T16:04:39Z","pushed_at":"2016-08-20T17:42:45Z","git_url":"git://github.com/woodruffw/screenfetch-c.git","ssh_url":"git@github.com:woodruffw/screenfetch-c.git","clone_url":"https://github.com/woodruffw/screenfetch-c.git","svn_url":"https://github.com/woodruffw/screenfetch-c","homepage":"","size":2276,"stargazers_count":41,"watchers_count":41,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28"},"html":{"href":"https://github.com/woodruffw/screenfetch-c/pull/28"},"issue":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/issues/28"},"comments":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/woodruffw/screenfetch-c/statuses/e1ad204a2c04e49987a95418058be41a84684d2e"}}}}
{"actor":{"display_login":"woodruffw"}}