Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix include of windows.h in mmap.h #10885

Closed

Conversation

pdillinger
Copy link
Contributor

Summary: If windows.h is not included in a particular way, it can conflict with other code including it. I don't know all the details, but having just one standard place where we include windows.h in header files seems best and seems to fix the internal issue we hit.

Test Plan: CI and internal validation

Summary: If windows.h is not included in a particular way, it can
conflict with other code including it. I don't know all the details, but
having just one standard place where we include windows.h in header files
seems best and seems to fix the internal issue we hit.

Test Plan: CI and internal validation
@facebook-github-bot
Copy link
Contributor

@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

akankshamahajan15 pushed a commit that referenced this pull request Oct 27, 2022
Summary:
If windows.h is not included in a particular way, it can conflict with other code including it. I don't know all the details, but having just one standard place where we include windows.h in header files seems best and seems to fix the internal issue we hit.

Pull Request resolved: #10885

Test Plan: CI and internal validation

Reviewed By: anand1976

Differential Revision: D40738945

Pulled By: pdillinger

fbshipit-source-id: 88f635e895b1c7b810baad159e6dbb8351344cac
pdillinger added a commit that referenced this pull request Nov 28, 2022
pdillinger added a commit that referenced this pull request Dec 1, 2022
seckcoder added a commit to rockset/rocksdb-cloud that referenced this pull request Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants