{"action":"created","comment":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/comments/33477146","id":33477146,"diff_hunk":"@@ -3,6 +3,24 @@\n // Refer to the license.txt file included.\n \n #include <thread>\n+#include <iostream>\n+#ifdef _MSC_VER\n+#include \"getopt/getopt.h\"\n+extern char *optarg;","path":"src/citra/citra.cpp","position":7,"original_position":7,"commit_id":"d93ef773a78e0dcf70c482fbbf8c0d1d7b217b1b","original_commit_id":"d93ef773a78e0dcf70c482fbbf8c0d1d7b217b1b","user":{"login":"gwicks","id":1276215,"avatar_url":"https://avatars.githubusercontent.com/u/1276215?v=3","gravatar_id":"","url":"https://api.github.com/users/gwicks","html_url":"https://github.com/gwicks","followers_url":"https://api.github.com/users/gwicks/followers","following_url":"https://api.github.com/users/gwicks/following{/other_user}","gists_url":"https://api.github.com/users/gwicks/gists{/gist_id}","starred_url":"https://api.github.com/users/gwicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwicks/subscriptions","organizations_url":"https://api.github.com/users/gwicks/orgs","repos_url":"https://api.github.com/users/gwicks/repos","events_url":"https://api.github.com/users/gwicks/events{/privacy}","received_events_url":"https://api.github.com/users/gwicks/received_events","type":"User","site_admin":false},"body":"I agree they shouldn't be necessary, I just couldn't get it to work without them. Maybe it's a result of how getopt itself is written?","created_at":"2015-06-29T15:39:50Z","updated_at":"2015-06-29T15:39:50Z","html_url":"https://github.com/citra-emu/citra/pull/881#discussion_r33477146","pull_request_url":"https://api.github.com/repos/citra-emu/citra/pulls/881","_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments/33477146"},"html":{"href":"https://github.com/citra-emu/citra/pull/881#discussion_r33477146"},"pull_request":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/881"}}},"pull_request":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/881","id":38292278,"html_url":"https://github.com/citra-emu/citra/pull/881","diff_url":"https://github.com/citra-emu/citra/pull/881.diff","patch_url":"https://github.com/citra-emu/citra/pull/881.patch","issue_url":"https://api.github.com/repos/citra-emu/citra/issues/881","number":881,"state":"open","locked":false,"title":"Switch argument parsing to use getopt","user":{"login":"gwicks","id":1276215,"avatar_url":"https://avatars.githubusercontent.com/u/1276215?v=3","gravatar_id":"","url":"https://api.github.com/users/gwicks","html_url":"https://github.com/gwicks","followers_url":"https://api.github.com/users/gwicks/followers","following_url":"https://api.github.com/users/gwicks/following{/other_user}","gists_url":"https://api.github.com/users/gwicks/gists{/gist_id}","starred_url":"https://api.github.com/users/gwicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwicks/subscriptions","organizations_url":"https://api.github.com/users/gwicks/orgs","repos_url":"https://api.github.com/users/gwicks/repos","events_url":"https://api.github.com/users/gwicks/events{/privacy}","received_events_url":"https://api.github.com/users/gwicks/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-23T01:00:01Z","updated_at":"2015-06-29T15:39:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d44b36d83c9570b3070d589f0b65cb884dc91d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/citra-emu/citra/pulls/881/commits","review_comments_url":"https://api.github.com/repos/citra-emu/citra/pulls/881/comments","review_comment_url":"https://api.github.com/repos/citra-emu/citra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citra-emu/citra/issues/881/comments","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/d93ef773a78e0dcf70c482fbbf8c0d1d7b217b1b","head":{"label":"gwicks:master","ref":"master","sha":"d93ef773a78e0dcf70c482fbbf8c0d1d7b217b1b","user":{"login":"gwicks","id":1276215,"avatar_url":"https://avatars.githubusercontent.com/u/1276215?v=3","gravatar_id":"","url":"https://api.github.com/users/gwicks","html_url":"https://github.com/gwicks","followers_url":"https://api.github.com/users/gwicks/followers","following_url":"https://api.github.com/users/gwicks/following{/other_user}","gists_url":"https://api.github.com/users/gwicks/gists{/gist_id}","starred_url":"https://api.github.com/users/gwicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwicks/subscriptions","organizations_url":"https://api.github.com/users/gwicks/orgs","repos_url":"https://api.github.com/users/gwicks/repos","events_url":"https://api.github.com/users/gwicks/events{/privacy}","received_events_url":"https://api.github.com/users/gwicks/received_events","type":"User","site_admin":false},"repo":{"id":37728538,"name":"citra","full_name":"gwicks/citra","owner":{"login":"gwicks","id":1276215,"avatar_url":"https://avatars.githubusercontent.com/u/1276215?v=3","gravatar_id":"","url":"https://api.github.com/users/gwicks","html_url":"https://github.com/gwicks","followers_url":"https://api.github.com/users/gwicks/followers","following_url":"https://api.github.com/users/gwicks/following{/other_user}","gists_url":"https://api.github.com/users/gwicks/gists{/gist_id}","starred_url":"https://api.github.com/users/gwicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwicks/subscriptions","organizations_url":"https://api.github.com/users/gwicks/orgs","repos_url":"https://api.github.com/users/gwicks/repos","events_url":"https://api.github.com/users/gwicks/events{/privacy}","received_events_url":"https://api.github.com/users/gwicks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gwicks/citra","description":"Nintendo 3DS emulator/debugger","fork":true,"url":"https://api.github.com/repos/gwicks/citra","forks_url":"https://api.github.com/repos/gwicks/citra/forks","keys_url":"https://api.github.com/repos/gwicks/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gwicks/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gwicks/citra/teams","hooks_url":"https://api.github.com/repos/gwicks/citra/hooks","issue_events_url":"https://api.github.com/repos/gwicks/citra/issues/events{/number}","events_url":"https://api.github.com/repos/gwicks/citra/events","assignees_url":"https://api.github.com/repos/gwicks/citra/assignees{/user}","branches_url":"https://api.github.com/repos/gwicks/citra/branches{/branch}","tags_url":"https://api.github.com/repos/gwicks/citra/tags","blobs_url":"https://api.github.com/repos/gwicks/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gwicks/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gwicks/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/gwicks/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gwicks/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/gwicks/citra/languages","stargazers_url":"https://api.github.com/repos/gwicks/citra/stargazers","contributors_url":"https://api.github.com/repos/gwicks/citra/contributors","subscribers_url":"https://api.github.com/repos/gwicks/citra/subscribers","subscription_url":"https://api.github.com/repos/gwicks/citra/subscription","commits_url":"https://api.github.com/repos/gwicks/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/gwicks/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/gwicks/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/gwicks/citra/issues/comments{/number}","contents_url":"https://api.github.com/repos/gwicks/citra/contents/{+path}","compare_url":"https://api.github.com/repos/gwicks/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gwicks/citra/merges","archive_url":"https://api.github.com/repos/gwicks/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gwicks/citra/downloads","issues_url":"https://api.github.com/repos/gwicks/citra/issues{/number}","pulls_url":"https://api.github.com/repos/gwicks/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/gwicks/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/gwicks/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gwicks/citra/labels{/name}","releases_url":"https://api.github.com/repos/gwicks/citra/releases{/id}","created_at":"2015-06-19T15:07:36Z","updated_at":"2015-06-19T15:07:37Z","pushed_at":"2015-06-25T17:16:01Z","git_url":"git://github.com/gwicks/citra.git","ssh_url":"git@github.com:gwicks/citra.git","clone_url":"https://github.com/gwicks/citra.git","svn_url":"https://github.com/gwicks/citra","homepage":null,"size":9276,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"citra-emu:master","ref":"master","sha":"a9fd93347dff482a83d45d92c23e46fd6337089c","user":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars.githubusercontent.com/u/7605670?v=3","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":19866730,"name":"citra","full_name":"citra-emu/citra","owner":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars.githubusercontent.com/u/7605670?v=3","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citra-emu/citra","description":"Nintendo 3DS emulator/debugger","fork":false,"url":"https://api.github.com/repos/citra-emu/citra","forks_url":"https://api.github.com/repos/citra-emu/citra/forks","keys_url":"https://api.github.com/repos/citra-emu/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citra-emu/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citra-emu/citra/teams","hooks_url":"https://api.github.com/repos/citra-emu/citra/hooks","issue_events_url":"https://api.github.com/repos/citra-emu/citra/issues/events{/number}","events_url":"https://api.github.com/repos/citra-emu/citra/events","assignees_url":"https://api.github.com/repos/citra-emu/citra/assignees{/user}","branches_url":"https://api.github.com/repos/citra-emu/citra/branches{/branch}","tags_url":"https://api.github.com/repos/citra-emu/citra/tags","blobs_url":"https://api.github.com/repos/citra-emu/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citra-emu/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citra-emu/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/citra-emu/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/citra-emu/citra/languages","stargazers_url":"https://api.github.com/repos/citra-emu/citra/stargazers","contributors_url":"https://api.github.com/repos/citra-emu/citra/contributors","subscribers_url":"https://api.github.com/repos/citra-emu/citra/subscribers","subscription_url":"https://api.github.com/repos/citra-emu/citra/subscription","commits_url":"https://api.github.com/repos/citra-emu/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/citra-emu/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/citra-emu/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/citra-emu/citra/issues/comments{/number}","contents_url":"https://api.github.com/repos/citra-emu/citra/contents/{+path}","compare_url":"https://api.github.com/repos/citra-emu/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citra-emu/citra/merges","archive_url":"https://api.github.com/repos/citra-emu/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citra-emu/citra/downloads","issues_url":"https://api.github.com/repos/citra-emu/citra/issues{/number}","pulls_url":"https://api.github.com/repos/citra-emu/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/citra-emu/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/citra-emu/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citra-emu/citra/labels{/name}","releases_url":"https://api.github.com/repos/citra-emu/citra/releases{/id}","created_at":"2014-05-16T18:33:15Z","updated_at":"2015-06-29T06:36:43Z","pushed_at":"2015-06-29T13:52:00Z","git_url":"git://github.com/citra-emu/citra.git","ssh_url":"git@github.com:citra-emu/citra.git","clone_url":"https://github.com/citra-emu/citra.git","svn_url":"https://github.com/citra-emu/citra","homepage":null,"size":20933,"stargazers_count":942,"watchers_count":942,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":237,"mirror_url":null,"open_issues_count":81,"forks":237,"open_issues":81,"watchers":942,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/881"},"html":{"href":"https://github.com/citra-emu/citra/pull/881"},"issue":{"href":"https://api.github.com/repos/citra-emu/citra/issues/881"},"comments":{"href":"https://api.github.com/repos/citra-emu/citra/issues/881/comments"},"review_comments":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/881/comments"},"review_comment":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/881/commits"},"statuses":{"href":"https://api.github.com/repos/citra-emu/citra/statuses/d93ef773a78e0dcf70c482fbbf8c0d1d7b217b1b"}}}}