Skip to content

fix(agc): declare environ for macOS host reports - #297

Draft
Thimo188 wants to merge 1 commit into
mainfrom
upstream-pr/15205
Draft

Thimo188 wants to merge 1 commit into
mainfrom
upstream-pr/15205

Conversation

@Thimo188

@Thimo188 Thimo188 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Imported from boykopovar/AnyPS5#15205, originally opened by mashingaan.

Source commit: ee697a1b726748eda988063821a0e3383ab846e1. The import branch preserves this fetched upstream PR snapshot. The description and validation below are copied from upstream; no new code changes or test runs were made for this import. Original reviews, discussions, and attachments remain at the linked upstream PR.


What

Declare environ for non-Windows builds in HostReportSources.cpp. The source reads this global on macOS, but <unistd.h> does not declare it there, so compiling libSceAgcDriver fails with an undeclared identifier. This matches the declaration already used by PerformanceTrace.cpp and FrameRecorder.cpp. Fixes boykopovar#14371.

Tested

Not run locally. This change is queued for Hosted CI.

Checklist

@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions github-actions Bot added the fix error Closes an issue (Fixes #N) label Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix error Closes an issue (Fixes #N)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AGC: libSceAgcDriver doesn't compile on macOS since HostReportSources.cpp was split off (environ undeclared); fix branch ready

2 participants