Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main: do not declare
environ
on Windows
When building with `/MD` on Windows, `environ` is a macro expanding to `__p_environ` which has dll-export storage. However, the redeclaration does not annotate the DLL storage causing a mismatch warning (`-Winconsistent-dllstorage`) which will be treated as an error. Let the declaration from the system headers be the declaration required. Closes #15300. PiperOrigin-RevId: 448913737
- Loading branch information